From 27fba57a164c62662fd5145da8ba6f035210dacf Mon Sep 17 00:00:00 2001 From: Krish Agarwal Date: Thu, 25 Sep 2025 11:34:01 -0400 Subject: [PATCH] Fix: Updated the printer column entry --- console/v1/types_console_link.go | 2 +- .../v1/zz_generated.crd-manifests/00_consolelinks.crd.yaml | 4 ++-- console/v1/zz_generated.featuregated-crd-manifests.yaml | 4 ++-- .../consolelinks.console.openshift.io/AAA_ungated.yaml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/console/v1/types_console_link.go b/console/v1/types_console_link.go index 977fcbda979..a84572925d2 100644 --- a/console/v1/types_console_link.go +++ b/console/v1/types_console_link.go @@ -19,7 +19,7 @@ import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" // +kubebuilder:metadata:annotations="displayName=ConsoleLinks" // +kubebuilder:printcolumn:name=Text,JSONPath=.spec.text,type=string // +kubebuilder:printcolumn:name=URL,JSONPath=.spec.href,type=string -// +kubebuilder:printcolumn:name=Menu,JSONPath=.spec.menu,type=string +// +kubebuilder:printcolumn:name=Location,JSONPath=.spec.location,type=string // +kubebuilder:printcolumn:name=Age,JSONPath=.metadata.creationTimestamp,type=date // +openshift:compatibility-gen:level=2 type ConsoleLink struct { diff --git a/console/v1/zz_generated.crd-manifests/00_consolelinks.crd.yaml b/console/v1/zz_generated.crd-manifests/00_consolelinks.crd.yaml index e687ff84050..66854da6327 100644 --- a/console/v1/zz_generated.crd-manifests/00_consolelinks.crd.yaml +++ b/console/v1/zz_generated.crd-manifests/00_consolelinks.crd.yaml @@ -26,8 +26,8 @@ spec: - jsonPath: .spec.href name: URL type: string - - jsonPath: .spec.menu - name: Menu + - jsonPath: .spec.location + name: Location type: string - jsonPath: .metadata.creationTimestamp name: Age diff --git a/console/v1/zz_generated.featuregated-crd-manifests.yaml b/console/v1/zz_generated.featuregated-crd-manifests.yaml index 250f873a092..1187f02db30 100644 --- a/console/v1/zz_generated.featuregated-crd-manifests.yaml +++ b/console/v1/zz_generated.featuregated-crd-manifests.yaml @@ -85,8 +85,8 @@ consolelinks.console.openshift.io: - jsonPath: .spec.href name: URL type: string - - jsonPath: .spec.menu - name: Menu + - jsonPath: .spec.location + name: Location type: string - jsonPath: .metadata.creationTimestamp name: Age diff --git a/console/v1/zz_generated.featuregated-crd-manifests/consolelinks.console.openshift.io/AAA_ungated.yaml b/console/v1/zz_generated.featuregated-crd-manifests/consolelinks.console.openshift.io/AAA_ungated.yaml index 59b522beed9..e180538d8fa 100644 --- a/console/v1/zz_generated.featuregated-crd-manifests/consolelinks.console.openshift.io/AAA_ungated.yaml +++ b/console/v1/zz_generated.featuregated-crd-manifests/consolelinks.console.openshift.io/AAA_ungated.yaml @@ -25,8 +25,8 @@ spec: - jsonPath: .spec.href name: URL type: string - - jsonPath: .spec.menu - name: Menu + - jsonPath: .spec.location + name: Location type: string - jsonPath: .metadata.creationTimestamp name: Age