core: add PHASE column to cephbn

The current behavior does not print the PHASE column, as most other
CRDs do. E.g.:

```
~ $ k get cephbn chorus
NAME     AGE
chorus   10d
```

Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
(cherry picked from commit 8866d47d92)
This commit is contained in:
Joshua Hoblitt authored and Mergify committed 2025-09-26 18:21:02 +00:00
1 parent 283cf54234
commit 913d02a02b
3 files changed
+18 -2

No files matched your search

@@ -897,7 +897,14 @@ spec:
singular: cephbucketnotification
scope: Namespaced
versions:
- name: v1
- additionalPrinterColumns:
- jsonPath: .status.phase
name: Phase
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1
schema:
openAPIV3Schema:
description: CephBucketNotification represents a Bucket Notifications
+8 -1
View File
@@ -898,7 +898,14 @@ spec:
singular: cephbucketnotification
scope: Namespaced
versions:
- name: v1
- additionalPrinterColumns:
- jsonPath: .status.phase
name: Phase
type: string
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
name: v1
schema:
openAPIV3Schema:
description: CephBucketNotification represents a Bucket Notifications
+2
View File
@@ -2616,6 +2616,8 @@ type KafkaEndpointSpec struct {
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// CephBucketNotification represents a Bucket Notifications
// +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase`
// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
// +kubebuilder:subresource:status
// +kubebuilder:resource:shortName=cephbn
type CephBucketNotification struct {