From e3abf5dc629a94bb51c15dbd24b7cc560084f0f8 Mon Sep 17 00:00:00 2001 From: Henning Eggers Date: Wed, 23 Mar 2022 19:55:11 +0100 Subject: [PATCH] fix: additional printer column --- api/v1beta1/awsauthmapsnippet_types.go | 2 +- config/crd/bases/crd.awsauth.io_awsauthmapsnippets.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/api/v1beta1/awsauthmapsnippet_types.go b/api/v1beta1/awsauthmapsnippet_types.go index 871e9ee..08a80bb 100644 --- a/api/v1beta1/awsauthmapsnippet_types.go +++ b/api/v1beta1/awsauthmapsnippet_types.go @@ -57,7 +57,7 @@ type AwsAuthMapSnippetStatus struct { //+kubebuilder:object:root=true //+kubebuilder:subresource:status -//+kubebuilder:printcolumn:name="MapVersion",type=integer,JSONPath=`.status.mapVersion` +//+kubebuilder:printcolumn:name="Synced",type=boolean,JSONPath=`.status.isSynced` // AwsAuthMapSnippet is the Schema for the awsauthmapsnippets API type AwsAuthMapSnippet struct { diff --git a/config/crd/bases/crd.awsauth.io_awsauthmapsnippets.yaml b/config/crd/bases/crd.awsauth.io_awsauthmapsnippets.yaml index 478e5b8..39242d4 100644 --- a/config/crd/bases/crd.awsauth.io_awsauthmapsnippets.yaml +++ b/config/crd/bases/crd.awsauth.io_awsauthmapsnippets.yaml @@ -17,9 +17,9 @@ spec: scope: Namespaced versions: - additionalPrinterColumns: - - jsonPath: .status.mapVersion - name: MapVersion - type: integer + - jsonPath: .status.isSynced + name: Synced + type: boolean name: v1beta1 schema: openAPIV3Schema: