From 47605cdf3078f6a018b222aa8795bc355f19e6a9 Mon Sep 17 00:00:00 2001 From: Mateus Oliveira Date: Wed, 15 May 2024 13:54:09 -0300 Subject: [PATCH] fixup! feat: Add Non Admin Restore controller Signed-off-by: Mateus Oliveira --- api/v1alpha1/nonadminrestore_types.go | 1 + config/crd/bases/nac.oadp.openshift.io_nonadminrestores.yaml | 2 ++ 2 files changed, 3 insertions(+) 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: