From 74bb6660d9b5f6d9f9f7b5a1b3ca9c126f255587 Mon Sep 17 00:00:00 2001 From: Steve Kriss Date: Tue, 19 Oct 2021 11:18:13 -0600 Subject: [PATCH] apis/v1alpha2: fix GatewayClass controllerName print column Signed-off-by: Steve Kriss --- apis/v1alpha2/gatewayclass_types.go | 2 +- .../crd/v1alpha2/gateway.networking.k8s.io_gatewayclasses.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apis/v1alpha2/gatewayclass_types.go b/apis/v1alpha2/gatewayclass_types.go index 8af38526b5..699bc78c8a 100644 --- a/apis/v1alpha2/gatewayclass_types.go +++ b/apis/v1alpha2/gatewayclass_types.go @@ -26,7 +26,7 @@ import ( // +kubebuilder:resource:categories=gateway-api,scope=Cluster,shortName=gc // +kubebuilder:subresource:status // +kubebuilder:storageversion -// +kubebuilder:printcolumn:name="Controller",type=string,JSONPath=`.spec.controller` +// +kubebuilder:printcolumn:name="Controller",type=string,JSONPath=`.spec.controllerName` // +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp` // +kubebuilder:printcolumn:name="Description",type=string,JSONPath=`.spec.description`,priority=1 diff --git a/config/crd/v1alpha2/gateway.networking.k8s.io_gatewayclasses.yaml b/config/crd/v1alpha2/gateway.networking.k8s.io_gatewayclasses.yaml index cac5b0ee79..87e3e59a4c 100644 --- a/config/crd/v1alpha2/gateway.networking.k8s.io_gatewayclasses.yaml +++ b/config/crd/v1alpha2/gateway.networking.k8s.io_gatewayclasses.yaml @@ -21,7 +21,7 @@ spec: scope: Cluster versions: - additionalPrinterColumns: - - jsonPath: .spec.controller + - jsonPath: .spec.controllerName name: Controller type: string - jsonPath: .metadata.creationTimestamp