diff --git a/api/v1alpha1/backupconfiguration_types.go b/api/v1alpha1/backupconfiguration_types.go index eec6ace..fdb8ca1 100644 --- a/api/v1alpha1/backupconfiguration_types.go +++ b/api/v1alpha1/backupconfiguration_types.go @@ -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"` diff --git a/api/v1alpha1/backupsession_types.go b/api/v1alpha1/backupsession_types.go index 5e016e9..171aa7e 100644 --- a/api/v1alpha1/backupsession_types.go +++ b/api/v1alpha1/backupsession_types.go @@ -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`