From 99896db5cd07621d0dd685fa4b47c43068dd0c33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Valais?= Date: Mon, 30 Sep 2024 14:28:07 +0200 Subject: [PATCH] make: jetstack.io_venaficonnections.yaml: recreate file instead of appending Co-authored-by: Tim Ramlot <42113979+inteon@users.noreply.github.com> --- make/02_mod.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/02_mod.mk b/make/02_mod.mk index c42f6fd3..a60012dc 100644 --- a/make/02_mod.mk +++ b/make/02_mod.mk @@ -27,7 +27,7 @@ release: $(helm_chart_archive) generate-crds-venconn: $(addprefix $(helm_chart_source_dir)/templates/,venafi-connection-crd.yaml venafi-connection-crd.without-validations.yaml) $(helm_chart_source_dir)/crd_bases/jetstack.io_venaficonnections.yaml: go.mod | $(NEEDS_GO) - $(GO) run ./make/connection_crd >>$@ + $(GO) run ./make/connection_crd >$@ $(helm_chart_source_dir)/templates/venafi-connection-crd.without-validations.yaml: $(helm_chart_source_dir)/crd_bases/jetstack.io_venaficonnections.yaml $(helm_chart_source_dir)/crd_bases/crd.header.yaml $(helm_chart_source_dir)/crd_bases/crd.footer.yaml | $(NEEDS_YQ) cat $(helm_chart_source_dir)/crd_bases/crd.header.yaml >$@