From b7e4bad1ef1dfcc4a0c1b8370c2212b2acf30677 Mon Sep 17 00:00:00 2001 From: Shlomit Neufeld Date: Tue, 27 Aug 2024 12:13:33 +0300 Subject: [PATCH] debug unknown argument trivialVersions error --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b21488a..e2300e4 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,8 @@ ensure-operator-sdk: hack/ensure-operator-sdk.sh manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects. - $(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases + $(CONTROLLER_GEN) --version + $(CONTROLLER_GEN) $(CRD_OPTIONS) rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations. $(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..."