Skip to content

Commit 27fba57

Browse files
Fix: Updated the printer column entry
1 parent 8a46f74 commit 27fba57

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

console/v1/types_console_link.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1919
// +kubebuilder:metadata:annotations="displayName=ConsoleLinks"
2020
// +kubebuilder:printcolumn:name=Text,JSONPath=.spec.text,type=string
2121
// +kubebuilder:printcolumn:name=URL,JSONPath=.spec.href,type=string
22-
// +kubebuilder:printcolumn:name=Menu,JSONPath=.spec.menu,type=string
22+
// +kubebuilder:printcolumn:name=Location,JSONPath=.spec.location,type=string
2323
// +kubebuilder:printcolumn:name=Age,JSONPath=.metadata.creationTimestamp,type=date
2424
// +openshift:compatibility-gen:level=2
2525
type ConsoleLink struct {

console/v1/zz_generated.crd-manifests/00_consolelinks.crd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ spec:
2626
- jsonPath: .spec.href
2727
name: URL
2828
type: string
29-
- jsonPath: .spec.menu
30-
name: Menu
29+
- jsonPath: .spec.location
30+
name: Location
3131
type: string
3232
- jsonPath: .metadata.creationTimestamp
3333
name: Age

console/v1/zz_generated.featuregated-crd-manifests.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ consolelinks.console.openshift.io:
8585
- jsonPath: .spec.href
8686
name: URL
8787
type: string
88-
- jsonPath: .spec.menu
89-
name: Menu
88+
- jsonPath: .spec.location
89+
name: Location
9090
type: string
9191
- jsonPath: .metadata.creationTimestamp
9292
name: Age

console/v1/zz_generated.featuregated-crd-manifests/consolelinks.console.openshift.io/AAA_ungated.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ spec:
2525
- jsonPath: .spec.href
2626
name: URL
2727
type: string
28-
- jsonPath: .spec.menu
29-
name: Menu
28+
- jsonPath: .spec.location
29+
name: Location
3030
type: string
3131
- jsonPath: .metadata.creationTimestamp
3232
name: Age

0 commit comments

Comments
 (0)