Added short names for the backup resources
This commit is contained in:
parent
bea0537786
commit
233856beb0
@ -86,6 +86,7 @@ type BackupConfigurationStatus struct {
|
|||||||
|
|
||||||
// BackupConfiguration is the Schema for the backupconfigurations API
|
// BackupConfiguration is the Schema for the backupconfigurations API
|
||||||
// +kubebuilder:object:root=true
|
// +kubebuilder:object:root=true
|
||||||
|
// +kubebuilder:resource:shortName="bc"
|
||||||
// +kubebuilder:subresource:status
|
// +kubebuilder:subresource:status
|
||||||
type BackupConfiguration struct {
|
type BackupConfiguration struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
|
|||||||
@ -76,6 +76,7 @@ type BackupSessionStatus struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// +kubebuilder:object:root=true
|
// +kubebuilder:object:root=true
|
||||||
|
// +kubebuilder:resource:shortName="bs"
|
||||||
// +kubebuilder:subresource:status
|
// +kubebuilder:subresource:status
|
||||||
// +kubebuilder:printcolumn:name="Ref",type=string,JSONPath=`.spec.ref.name`
|
// +kubebuilder:printcolumn:name="Ref",type=string,JSONPath=`.spec.ref.name`
|
||||||
// +kubebuilder:printcolumn:name="State",type=string,JSONPath=`.status.state`
|
// +kubebuilder:printcolumn:name="State",type=string,JSONPath=`.status.state`
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user