diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bd2f35c1..adbf9eacb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,8 @@ # Change Log ## [master](https://github.com/arangodb/kube-arangodb/tree/master) (N/A) - +- (Bugfix) Fix make manifests-crd-file command + ## [1.2.33](https://github.com/arangodb/kube-arangodb/tree/1.2.33) (2023-09-27) - (Maintenance) Bump golang.org/x/net to v0.13.0 - (Feature) PVCResize action concurrency limit diff --git a/Makefile b/Makefile index 63d5aa1fc..04ad0016d 100644 --- a/Makefile +++ b/Makefile @@ -456,10 +456,9 @@ manifests: .PHONY: manifests-crd-file manifests-crd-file: @echo Building manifests for CRD - $(MANIFESTPATHCRD) - @echo -n > $(MANIFESTPATHCRD) - @$(foreach FILE,$(CRDS),echo '---\n# File: chart/kube-arangodb/crds/$(FILE).yaml' >> $(MANIFESTPATHCRD) && \ - cat '$(ROOT)/chart/kube-arangodb/crds/$(FILE).yaml' >> $(MANIFESTPATHCRD) && \ - echo '\n' >> $(MANIFESTPATHCRD);) + @printf "" > $(MANIFESTPATHCRD) + @$(foreach FILE,$(CRDS),printf '%s\n# File: chart/kube-arangodb/crds/%s.yaml\n' '---' $(FILE) >> $(MANIFESTPATHCRD) && \ + cat '$(ROOT)/chart/kube-arangodb/crds/$(FILE).yaml' >> $(MANIFESTPATHCRD);) manifests: manifests-crd-file .PHONY: manifests-crd-kustomize