Skip to content

Commit 46ee573

Browse files
committed
feat: adding helmify to makefile
1 parent 3ea5ff3 commit 46ee573

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,3 +173,13 @@ $(CONTROLLER_GEN): $(LOCALBIN)
173173
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
174174
$(ENVTEST): $(LOCALBIN)
175175
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
176+
177+
HELMIFY ?= $(LOCALBIN)/helmify -original-name charts/kube-startup-cpu-boost
178+
179+
.PHONY: helmify
180+
helmify: $(HELMIFY) ## Download helmify locally if necessary.
181+
$(HELMIFY): $(LOCALBIN)
182+
test -s $(LOCALBIN)/helmify || GOBIN=$(LOCALBIN) go install github.com/arttor/helmify/cmd/helmify@latest
183+
184+
helm: manifests kustomize helmify
185+
$(KUSTOMIZE) build config/default | $(HELMIFY)

0 commit comments

Comments
 (0)