k8s-operator: add age column to all custom resources (#15663)

This change introduces an Age column in the output for all custom
resources to enhance visibility into their lifecycle status.

Fixes #15499

Signed-off-by: satyampsoni <satyampsoni@gmail.com>
This commit is contained in:
Satyam Soni
2025-04-15 20:13:56 +01:00
committed by GitHub
parent 7833145289
commit b926cd7fc6
11 changed files with 35 additions and 0 deletions

View File

@@ -32,6 +32,9 @@ spec:
jsonPath: .status.conditions[?(@.type == "ConnectorReady")].reason
name: Status
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:

View File

@@ -20,6 +20,9 @@ spec:
jsonPath: .status.nameserver.ip
name: NameserverIP
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:

View File

@@ -18,6 +18,9 @@ spec:
jsonPath: .status.conditions[?(@.type == "ProxyClassReady")].reason
name: Status
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:

View File

@@ -24,6 +24,9 @@ spec:
jsonPath: .spec.type
name: Type
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:

View File

@@ -24,6 +24,9 @@ spec:
jsonPath: .status.devices[?(@.url != "")].url
name: URL
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:

View File

@@ -61,6 +61,9 @@ spec:
jsonPath: .status.conditions[?(@.type == "ConnectorReady")].reason
name: Status
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:
@@ -312,6 +315,9 @@ spec:
jsonPath: .status.nameserver.ip
name: NameserverIP
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:
@@ -492,6 +498,9 @@ spec:
jsonPath: .status.conditions[?(@.type == "ProxyClassReady")].reason
name: Status
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:
@@ -2803,6 +2812,9 @@ spec:
jsonPath: .spec.type
name: Type
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema:
@@ -3013,6 +3025,9 @@ spec:
jsonPath: .status.devices[?(@.url != "")].url
name: URL
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1alpha1
schema:
openAPIV3Schema: