From cf4be7337f7d28533ccb5780ea82ca43cf516fee Mon Sep 17 00:00:00 2001 From: Manabu McCloskey Date: Wed, 7 Feb 2024 17:45:43 +0000 Subject: [PATCH] ensure controller-gen looks at ./api only Signed-off-by: Manabu McCloskey --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f4b47ee9..da05e7dd 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ endif .PHONY: generate generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and DeepCopyObject method implementations. - $(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..." + $(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./api/..." .PHONY: manifests manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.