forked from rook/rook
Merge pull request #7752 from jshen28/add-print-columns
ceph: add phase to cephfilesystems crd
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user