Skip to content
This repository was archived by the owner on Dec 16, 2025. It is now read-only.

Commit 4086125

Browse files
authored
Add AGE column for openstackclusterstackrelease (#22)
Signed-off-by: Roman Hros <[email protected]>
1 parent 1bf5835 commit 4086125

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

api/v1alpha1/openstackclusterstackrelease_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ type OpenStackClusterStackReleaseStatus struct {
4242
//+kubebuilder:object:root=true
4343
//+kubebuilder:subresource:status
4444
//+kubebuilder:printcolumn:name="Ready",type="boolean",JSONPath=".status.ready"
45+
//+kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp",description="Time duration since creation of OpenStackClusterStackRelease"
4546

4647
// OpenStackClusterStackRelease is the Schema for the openstackclusterstackreleases API.
4748
type OpenStackClusterStackRelease struct {

config/crd/bases/infrastructure.clusterstack.x-k8s.io_openstackclusterstackreleases.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ spec:
1818
- jsonPath: .status.ready
1919
name: Ready
2020
type: boolean
21+
- description: Time duration since creation of OpenStackClusterStackRelease
22+
jsonPath: .metadata.creationTimestamp
23+
name: Age
24+
type: date
2125
name: v1alpha1
2226
schema:
2327
openAPIV3Schema:

0 commit comments

Comments
 (0)