Merge pull request #7752 from jshen28/add-print-columns

ceph: add phase to cephfilesystems crd
This commit is contained in:
Sébastien Han
2021-04-29 15:00:05 +02:00
committed by GitHub
3 changed files with 7 additions and 0 deletions
@@ -4831,6 +4831,9 @@ spec:
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
- jsonPath: .status.phase
name: Phase
type: string
name: v1
schema:
openAPIV3Schema:
@@ -4829,6 +4829,9 @@ spec:
- jsonPath: .metadata.creationTimestamp
name: Age
type: date
- jsonPath: .status.phase
name: Phase
type: string
name: v1
schema:
openAPIV3Schema:
+1
View File
@@ -886,6 +886,7 @@ type ErasureCodedSpec struct {
// CephFilesystem represents a Ceph Filesystem
// +kubebuilder:printcolumn:name="ActiveMDS",type=string,JSONPath=`.spec.metadataServer.activeCount`,description="Number of desired active MDS daemons"
// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
// +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase`
// +kubebuilder:subresource:status
type CephFilesystem struct {
metav1.TypeMeta `json:",inline"`