Skip to content

Commit ca5ca56

Browse files
Updated column type from string to date
1 parent 8a46f74 commit ca5ca56

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

console/v1/types_console_cli_download.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1818
// +kubebuilder:metadata:annotations="description=Extension for configuring openshift web console command line interface (CLI) downloads."
1919
// +kubebuilder:metadata:annotations="displayName=ConsoleCLIDownload"
2020
// +kubebuilder:printcolumn:name=Display name,JSONPath=.spec.displayName,type=string
21-
// +kubebuilder:printcolumn:name=Age,JSONPath=.metadata.creationTimestamp,type=string
21+
// +kubebuilder:printcolumn:name=Age,JSONPath=.metadata.creationTimestamp,type=date
2222
// +openshift:compatibility-gen:level=2
2323
type ConsoleCLIDownload struct {
2424
metav1.TypeMeta `json:",inline"`

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ spec:
2626
type: string
2727
- jsonPath: .metadata.creationTimestamp
2828
name: Age
29-
type: string
29+
type: date
3030
name: v1
3131
schema:
3232
openAPIV3Schema:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ consoleclidownloads.console.openshift.io:
2222
type: string
2323
- jsonPath: .metadata.creationTimestamp
2424
name: Age
25-
type: string
25+
type: date
2626
Scope: Cluster
2727
ShortNames: null
2828
TopLevelFeatureGates: []

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ spec:
2525
type: string
2626
- jsonPath: .metadata.creationTimestamp
2727
name: Age
28-
type: string
28+
type: date
2929
name: v1
3030
schema:
3131
openAPIV3Schema:

0 commit comments

Comments
 (0)