core: add Phase in additionalPrinterColumns for all CRs

this commit adding `Phase` in `additionalPrinterColumns` for
all the CRs.

this is how it looks now, example:

```
$ kc get cephfilesystem
NAME   ACTIVEMDS   AGE     PHASE
myfs   1           4m57s   Ready
srai@ ~
$ kc get cephblockpool
NAME                    PHASE
device-health-metrics   Ready
replicapool             Progressing
srai@ ~
$ kc get cephclient
NAME     PHASE
cinder   Ready
glance   Ready
```

Closes: https://github.com/rook/rook/issues/9883
Signed-off-by: subhamkrai <srai@redhat.com>
(cherry picked from commit dc488591e2)
This commit is contained in:
subhamkrai authored and mergify-bot committed 2022-03-21 13:16:09 +00:00
1 parent 162322ab08
commit eaa0bfe496
3 files changed
+113 -25

No files matched your search

+51 -12
View File
@@ -19,7 +19,11 @@ spec:
singular: cephblockpool
scope: Namespaced
versions:
- name: v1
- additionalPrinterColumns:
- jsonPath: .status.phase
name: Phase
type: string
name: v1
schema:
openAPIV3Schema:
description: CephBlockPool represents a Ceph Storage Pool
@@ -511,7 +515,11 @@ spec:
singular: cephbuckettopic
scope: Namespaced
versions:
- name: v1
- additionalPrinterColumns:
- jsonPath: .status.phase
name: Phase
type: string
name: v1
schema:
openAPIV3Schema:
description: CephBucketTopic represents a Ceph Object Topic for Bucket Notifications
@@ -654,7 +662,11 @@ spec:
singular: cephclient
scope: Namespaced
versions:
- name: v1
- additionalPrinterColumns:
- jsonPath: .status.phase
name: Phase
type: string
name: v1
schema:
openAPIV3Schema:
description: CephClient represents a Ceph Client
@@ -736,8 +748,7 @@ spec:
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
- description: Phase
jsonPath: .status.phase
- jsonPath: .status.phase
name: Phase
type: string
- description: Message
@@ -4256,7 +4267,11 @@ spec:
singular: cephfilesystemmirror
scope: Namespaced
versions:
- name: v1
- additionalPrinterColumns:
- jsonPath: .status.phase
name: Phase
type: string
name: v1
schema:
openAPIV3Schema:
description: CephFilesystemMirror is the Ceph Filesystem Mirror object definition
@@ -6113,7 +6128,11 @@ spec:
singular: cephfilesystemsubvolumegroup
scope: Namespaced
versions:
- name: v1
- additionalPrinterColumns:
- jsonPath: .status.phase
name: Phase
type: string
name: v1
schema:
openAPIV3Schema:
description: CephFilesystemSubVolumeGroup represents a Ceph Filesystem SubVolumeGroup
@@ -6905,7 +6924,11 @@ spec:
singular: cephobjectstore
scope: Namespaced
versions:
- name: v1
- additionalPrinterColumns:
- jsonPath: .status.phase
name: Phase
type: string
name: v1
schema:
openAPIV3Schema:
description: CephObjectStore represents a Ceph Object Store Gateway
@@ -8330,7 +8353,11 @@ spec:
singular: cephobjectstoreuser
scope: Namespaced
versions:
- name: v1
- additionalPrinterColumns:
- jsonPath: .status.phase
name: Phase
type: string
name: v1
schema:
openAPIV3Schema:
description: CephObjectStoreUser represents a Ceph Object Store Gateway User
@@ -8463,7 +8490,11 @@ spec:
singular: cephobjectzonegroup
scope: Namespaced
versions:
- name: v1
- additionalPrinterColumns:
- jsonPath: .status.phase
name: Phase
type: string
name: v1
schema:
openAPIV3Schema:
description: CephObjectZoneGroup represents a Ceph Object Store Gateway Zone Group
@@ -8523,7 +8554,11 @@ spec:
singular: cephobjectzone
scope: Namespaced
versions:
- name: v1
- additionalPrinterColumns:
- jsonPath: .status.phase
name: Phase
type: string
name: v1
schema:
openAPIV3Schema:
description: CephObjectZone represents a Ceph Object Store Gateway Zone
@@ -8911,7 +8946,11 @@ spec:
singular: cephrbdmirror
scope: Namespaced
versions:
- name: v1
- additionalPrinterColumns:
- jsonPath: .status.phase
name: Phase
type: string
name: v1
schema:
openAPIV3Schema:
description: CephRBDMirror represents a Ceph RBD Mirror