From 62de89d3d0f3e6d2444afacbad7bd37e18529d25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Fri, 2 Sep 2022 13:36:01 +0200 Subject: [PATCH] fix: incorrect kustomize call in makefile (#4493) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché Signed-off-by: Charles-Edouard Brétéché --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 224dc9ab8b..c838ab4f3b 100644 --- a/Makefile +++ b/Makefile @@ -525,7 +525,7 @@ helm-test-values: .PHONY: kustomize-crd kustomize-crd: $(KUSTOMIZE) ## Create install.yaml # Create CRD for helm deployment Helm - $(KUSTOMIZE) build ./config/release | kustomize cfg grep kind=CustomResourceDefinition | $(SED) -e "1i{{- if .Values.installCRDs }}" -e '$$a{{- end }}' > ./charts/kyverno/templates/crds.yaml + $(KUSTOMIZE) build ./config/release | $(KUSTOMIZE) cfg grep kind=CustomResourceDefinition | $(SED) -e "1i{{- if .Values.installCRDs }}" -e '$$a{{- end }}' > ./charts/kyverno/templates/crds.yaml # Generate install.yaml that have all resources for kyverno $(KUSTOMIZE) build ./config > ./config/install.yaml # Generate install_debug.yaml that for developer testing