Skip to content

Commit

Permalink
add GatewayClass Accepted print column
Browse files Browse the repository at this point in the history
Adds the status of the "Accepted" condition
to the GatewayClass print columns list.

Signed-off-by: Steve Kriss <krisss@vmware.com>
  • Loading branch information
skriss committed May 19, 2022
1 parent c7fe7e4 commit fc9c433
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apis/v1alpha2/gatewayclass_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import (
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// +kubebuilder:printcolumn:name="Controller",type=string,JSONPath=`.spec.controllerName`
// +kubebuilder:printcolumn:name="Accepted",type=string,JSONPath=`.status.conditions[?(@.type=="Accepted")].status`
// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
// +kubebuilder:printcolumn:name="Description",type=string,JSONPath=`.spec.description`,priority=1

Expand Down

0 comments on commit fc9c433

Please sign in to comment.