From f77b6540b0d6f30ee55d70665bb9b8b5ec497f36 Mon Sep 17 00:00:00 2001 From: Muvaffak Onus Date: Wed, 2 Oct 2019 19:33:14 +0300 Subject: [PATCH] Fix path in CRD generation command Signed-off-by: Muvaffak Onus --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 285b328c92..cf64fafa1b 100644 --- a/Makefile +++ b/Makefile @@ -76,7 +76,8 @@ go.test.unit: $(KUBEBUILDER) # Generate manifests e.g. CRD, RBAC etc. manifests: vendor @$(INFO) Generating CRD manifests - go run vendor/sigs.k8s.io/controller-tools/cmd/controller-gen/main.go crd:trivialVersions=true paths=./aws/... output:dir=$(CRD_DIR) + @rm -rf $(CRD_DIR) + go run vendor/sigs.k8s.io/controller-tools/cmd/controller-gen/main.go crd:trivialVersions=true paths=./apis/... output:dir=$(CRD_DIR) @$(OK) Generating CRD manifests # Generate a coverage report for cobertura applying exclusions on