diff --git a/Makefile b/Makefile index 7a0b864d05..08bd30002e 100644 --- a/Makefile +++ b/Makefile @@ -274,9 +274,11 @@ generate-conversion-gen: $(CONVERSION_GEN) .PHONY: generate-manifests generate-manifests: $(CONTROLLER_GEN) ## Generate manifests e.g. CRD, RBAC etc. $(CONTROLLER_GEN) \ - paths=./pkg/webhooks/... \ + paths=./api/... \ crd:crdVersions=v1 \ - output:crd:dir=$(CRD_ROOT) \ + output:crd:dir=$(CRD_ROOT) + $(CONTROLLER_GEN) \ + paths=./pkg/webhooks/... \ output:webhook:dir=$(WEBHOOK_ROOT) \ webhook $(CONTROLLER_GEN) \