Skip to content

Commit

Permalink
Add AGE column for openstackclusterstackrelease (#22)
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Hros <[email protected]>
  • Loading branch information
chess-knight authored Dec 20, 2023
1 parent 1bf5835 commit 4086125
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/v1alpha1/openstackclusterstackrelease_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ type OpenStackClusterStackReleaseStatus struct {
//+kubebuilder:object:root=true
//+kubebuilder:subresource:status
//+kubebuilder:printcolumn:name="Ready",type="boolean",JSONPath=".status.ready"
//+kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Time duration since creation of OpenStackClusterStackRelease"

// OpenStackClusterStackRelease is the Schema for the openstackclusterstackreleases API.
type OpenStackClusterStackRelease struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ spec:
- jsonPath: .status.ready
name: Ready
type: boolean
- description: Time duration since creation of OpenStackClusterStackRelease
jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:
Expand Down

0 comments on commit 4086125

Please sign in to comment.