Skip to content

Commit 091a596

Browse files
committed
fix(helm): add missing Age printcolumn in RegistryMonitor
1 parent ddeab5a commit 091a596

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

api/kuik/v1alpha1/registrymonitor_types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ type RegistryMonitorStatus struct {
5050
// +kubebuilder:printcolumn:name="Parallel",type="integer",JSONPath=".spec.parallel"
5151
// +kubebuilder:printcolumn:name="MaxPerInterval",type="integer",JSONPath=".spec.maxPerInterval"
5252
// +kubebuilder:printcolumn:name="Interval",type="string",JSONPath=".spec.interval"
53+
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
5354

5455
// RegistryMonitor is the Schema for the registrymonitors API.
5556
type RegistryMonitor struct {

config/crd/bases/kuik.enix.io_registrymonitors.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ spec:
3232
- jsonPath: .spec.interval
3333
name: Interval
3434
type: string
35+
- jsonPath: .metadata.creationTimestamp
36+
name: Age
37+
type: date
3538
name: v1alpha1
3639
schema:
3740
openAPIV3Schema:

helm/kube-image-keeper/crds/kuik.enix.io_registrymonitors.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ spec:
3131
- jsonPath: .spec.interval
3232
name: Interval
3333
type: string
34+
- jsonPath: .metadata.creationTimestamp
35+
name: Age
36+
type: date
3437
name: v1alpha1
3538
schema:
3639
openAPIV3Schema:

0 commit comments

Comments
 (0)