Add helm chart for easy deployment.

This commit is contained in:
2023-02-20 09:27:13 +00:00
parent ad45a0ce00
commit 45ffb50b72
12 changed files with 8377 additions and 0 deletions
+7
View File
@@ -4,6 +4,7 @@ IMG ?= ghcr.io/lukaszraczylo/jobs-manager-operator:latest
IMG_SECONDARY_TAG ?= ""
# ENVTEST_K8S_VERSION refers to the version of kubebuilder assets to be downloaded by envtest binary.
ENVTEST_K8S_VERSION = 1.26.1
HELMIFY = helmify
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
ifeq (,$(shell go env GOBIN))
@@ -160,3 +161,9 @@ $(CONTROLLER_GEN): $(LOCALBIN)
envtest: $(ENVTEST) ## Download envtest-setup locally if necessary.
$(ENVTEST): $(LOCALBIN)
test -s $(LOCALBIN)/setup-envtest || GOBIN=$(LOCALBIN) go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
helmify:
$(call go-get-tool,$(HELMIFY),github.com/arttor/helmify/cmd/helmify@v0.3.7)
helm: manifests kustomize helmify
$(KUSTOMIZE) build config/default | $(HELMIFY)