kubectl displays suspended and schedule attribute of BackupConfiguration
This commit is contained in:
parent
5ed396ffce
commit
0510fc43d4
@ -96,6 +96,8 @@ type BackupConfigurationStatus struct {
|
||||
// +kubebuilder:object:root=true
|
||||
// +kubebuilder:resource:shortName="bc"
|
||||
// +kubebuilder:subresource:status
|
||||
// +kubebuilder:printcolumn:name="Suspended",type=boolean,JSONPath=`.spec.suspend`
|
||||
// +kubebuilder:printcolumn:name="Schedule",type=string,JSONPath=`.spec.schedule`
|
||||
type BackupConfiguration struct {
|
||||
metav1.TypeMeta `json:",inline"`
|
||||
metav1.ObjectMeta `json:"metadata,omitempty"`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user