Merge pull request #16543 from jhoblitt/feature/cephnfs-printcolumn-phase
core: add PHASE column to cephnfs
This commit is contained in:
3 files changed
+18
-2
No files matched your search
@@ -9387,7 +9387,14 @@ spec:
|
||||
singular: cephnfs
|
||||
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: CephNFS represents a Ceph NFS
|
||||
|
||||
@@ -9380,7 +9380,14 @@ spec:
|
||||
singular: cephnfs
|
||||
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: CephNFS represents a Ceph NFS
|
||||
|
||||
@@ -2699,6 +2699,8 @@ type RGWServiceSpec struct {
|
||||
|
||||
// CephNFS represents a Ceph NFS
|
||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||
// +kubebuilder:printcolumn:name="Phase",type=string,JSONPath=`.status.phase`
|
||||
// +kubebuilder:printcolumn:name="Age",type=date,JSONPath=`.metadata.creationTimestamp`
|
||||
// +kubebuilder:subresource:status
|
||||
type CephNFS struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
|
||||
Reference in new issue
Block a user