Skip to content

Commit

Permalink
Merge pull request #1276 from mbbush/swap-clusterauth-printer
Browse files Browse the repository at this point in the history
re-order columns for handwritten ClusterAuth.eks
  • Loading branch information
turkenf committed Jun 7, 2024
2 parents 0e54c26 + 76dce07 commit 719eef4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apis/eks/v1beta1/clusterauth_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ type ClusterAuthStatus struct {
// +kubebuilder:object:root=true

// ClusterAuth is used to retrieve Kubeconfig of given EKS cluster.
// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status"
// +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status"
// +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status"
// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name"
// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"
// +kubebuilder:subresource:status
Expand Down
6 changes: 3 additions & 3 deletions package/crds/eks.aws.upbound.io_clusterauths.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ spec:
scope: Cluster
versions:
- additionalPrinterColumns:
- jsonPath: .status.conditions[?(@.type=='Ready')].status
name: READY
type: string
- jsonPath: .status.conditions[?(@.type=='Synced')].status
name: SYNCED
type: string
- jsonPath: .status.conditions[?(@.type=='Ready')].status
name: READY
type: string
- jsonPath: .metadata.annotations.crossplane\.io/external-name
name: EXTERNAL-NAME
type: string
Expand Down

0 comments on commit 719eef4

Please sign in to comment.