Skip to content

Commit

Permalink
fix: additional printer column
Browse files Browse the repository at this point in the history
  • Loading branch information
henninge committed Mar 23, 2022
1 parent 1921de8 commit e3abf5d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/v1beta1/awsauthmapsnippet_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
6 changes: 3 additions & 3 deletions config/crd/bases/crd.awsauth.io_awsauthmapsnippets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e3abf5d

Please sign in to comment.