Added short names for the backup resources

This commit is contained in:
jandre 2021-01-05 23:08:34 +01:00
parent bea0537786
commit 233856beb0
2 changed files with 2 additions and 0 deletions

View File

@ -86,6 +86,7 @@ type BackupConfigurationStatus struct {
// BackupConfiguration is the Schema for the backupconfigurations API
// +kubebuilder:object:root=true
// +kubebuilder:resource:shortName="bc"
// +kubebuilder:subresource:status
type BackupConfiguration struct {
metav1.TypeMeta `json:",inline"`

View File

@ -76,6 +76,7 @@ type BackupSessionStatus struct {
}
// +kubebuilder:object:root=true
// +kubebuilder:resource:shortName="bs"
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Ref",type=string,JSONPath=`.spec.ref.name`
// +kubebuilder:printcolumn:name="State",type=string,JSONPath=`.status.state`