From 76dce07873ade2574c25dbfce75ff90e4ce33d68 Mon Sep 17 00:00:00 2001 From: Matt Bush Date: Sun, 21 Apr 2024 09:40:43 -0700 Subject: [PATCH] re-order columns for handwritten ClusterAuth.eks Signed-off-by: Matt Bush --- apis/eks/v1beta1/clusterauth_types.go | 2 +- package/crds/eks.aws.upbound.io_clusterauths.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apis/eks/v1beta1/clusterauth_types.go b/apis/eks/v1beta1/clusterauth_types.go index 6b5d90a39e..bbe6b127a7 100644 --- a/apis/eks/v1beta1/clusterauth_types.go +++ b/apis/eks/v1beta1/clusterauth_types.go @@ -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 diff --git a/package/crds/eks.aws.upbound.io_clusterauths.yaml b/package/crds/eks.aws.upbound.io_clusterauths.yaml index a2aac322cf..d72050a659 100644 --- a/package/crds/eks.aws.upbound.io_clusterauths.yaml +++ b/package/crds/eks.aws.upbound.io_clusterauths.yaml @@ -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