Skip to content

Commit

Permalink
Merge pull request #743 from howardjohn/gateway-printer-columns
Browse files Browse the repository at this point in the history
Add READY and ADDRESS to gateway printer columns
  • Loading branch information
k8s-ci-robot authored Aug 6, 2021
2 parents 6d30ac6 + 6e508e1 commit 8359c1c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apis/v1alpha2/gateway_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ import (
// +kubebuilder:subresource:status
// +kubebuilder:storageversion
// +kubebuilder:printcolumn:name="Class",type=string,JSONPath=`.spec.gatewayClassName`
// +kubebuilder:printcolumn:name="Address",type=string,JSONPath=`.status.addresses[*].value`
// +kubebuilder:printcolumn:name="Ready",type=string,JSONPath=`.status.conditions[?(@.type=="Ready")].status`
// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`

// Gateway represents an instantiation of a service-traffic handling
Expand Down
6 changes: 6 additions & 0 deletions config/crd/bases/gateway.networking.k8s.io_gateways.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8359c1c

Please sign in to comment.