core: add PHASE column to cephor
The current behavior does not print the PHASE column, as most other CRDs do. E.g.: ``` ~ $ k get cephor lfa NAME AGE lfa 45d ``` Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
This commit is contained in:
1 parent
005812b32a
commit
6d9c884259
3 files changed
+18
-2
No files matched your search
@@ -11464,7 +11464,14 @@ spec:
|
||||
singular: cephobjectrealm
|
||||
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: CephObjectRealm represents a Ceph Object Store Gateway Realm
|
||||
|
||||
@@ -11456,7 +11456,14 @@ spec:
|
||||
singular: cephobjectrealm
|
||||
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: CephObjectRealm represents a Ceph Object Store Gateway Realm
|
||||
|
||||
@@ -2345,6 +2345,8 @@ type ObjectUserKey struct {
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
|
||||
// CephObjectRealm represents a Ceph Object Store Gateway Realm
|
||||
// +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase`
|
||||
// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
|
||||
// +kubebuilder:subresource:status
|
||||
// +kubebuilder:resource:shortName=cephor
|
||||
type CephObjectRealm struct {
|
||||
|
||||
Reference in new issue
Block a user