diff --git a/api/v1alpha1/nonadminrestore_types.go b/api/v1alpha1/nonadminrestore_types.go index 512ad2a..47b80be 100644 --- a/api/v1alpha1/nonadminrestore_types.go +++ b/api/v1alpha1/nonadminrestore_types.go @@ -52,6 +52,7 @@ type NonAdminRestoreStatus struct { // +kubebuilder:object:root=true // +kubebuilder:subresource:status +// +kubebuilder:resource:path=nonadminrestores,shortName=nar // NonAdminRestore is the Schema for the nonadminrestores API type NonAdminRestore struct { diff --git a/config/crd/bases/nac.oadp.openshift.io_nonadminrestores.yaml b/config/crd/bases/nac.oadp.openshift.io_nonadminrestores.yaml index 0f6ae9e..6b8f540 100644 --- a/config/crd/bases/nac.oadp.openshift.io_nonadminrestores.yaml +++ b/config/crd/bases/nac.oadp.openshift.io_nonadminrestores.yaml @@ -11,6 +11,8 @@ spec: kind: NonAdminRestore listKind: NonAdminRestoreList plural: nonadminrestores + shortNames: + - nar singular: nonadminrestore scope: Namespaced versions: