diff --git a/.gitignore b/.gitignore index bb691fa..cc14dad 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,6 @@ Dockerfile.cross # temp files tmp/ + +# Helmify +chart/ diff --git a/Makefile b/Makefile index 5df1602..ce836d1 100644 --- a/Makefile +++ b/Makefile @@ -228,3 +228,13 @@ $(ENVTEST): $(LOCALBIN) air: $(AIR) ## Download air locally if necessary. $(AIR): $(LOCALBIN) test -s $(LOCALBIN)/air || GOBIN=$(LOCALBIN) go install github.com/cosmtrek/air@latest + +HELMIFY ?= $(LOCALBIN)/helmify + +.PHONY: helmify +helmify: $(HELMIFY) ## Download helmify locally if necessary. +$(HELMIFY): $(LOCALBIN) + test -s $(LOCALBIN)/helmify || GOBIN=$(LOCALBIN) go install github.com/arttor/helmify/cmd/helmify@latest + +helm: manifests kustomize helmify + $(KUSTOMIZE) build config/default | $(HELMIFY)