8000 Replace the kubebuilder flags for GRPCRoute v1alpha2 so that they're … · kubernetes-sigs/gateway-api@53ba0e3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 53ba0e3

Browse files
authored
Replace the kubebuilder flags for GRPCRoute v1alpha2 so that they're the same as v1. (#3412)
Signed-off-by: Flynn <emissary@flynn.kodachi.com>
1 parent c835e83 commit 53ba0e3

File tree

3 files changed

+24
-2
lines changed

3 files changed

+24
-2
lines changed

apis/v1alpha2/grpcroute_types.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ import (
2424

2525
// +genclient
2626
// +kubebuilder:object:root=true
27+
// +kubebuilder:resource:categories=gateway-api
28+
// +kubebuilder:subresource:status
29+
// +kubebuilder:printcolumn:name="Hostnames",type=string,JSONPath=`.spec.hostnames`
30+
// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
2731
// +kubebuilder:deprecatedversion:warning="The v1alpha2 version of GRPCRoute has been deprecated and will be removed in a future release of the API. Please upgrade to v1."
2832
type GRPCRoute v1.GRPCRoute
2933

config/crd/experimental/gateway.networking.k8s.io_grpcroutes.yaml

Lines changed: 10 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/standard/gateway.networking.k8s.io_grpcroutes.yaml

Lines changed: 10 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
0