Skip to content

Commit

Permalink
[make] Sertting chart version when building the chart
Browse files Browse the repository at this point in the history
  • Loading branch information
didierofrivia committed Jun 10, 2024
1 parent 684b259 commit 220d0fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions make/helm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ helm-build: $(KUSTOMIZE) $(OPERATOR_SDK) $(YQ) manifests ## Build the helm chart
cd config/manager && $(KUSTOMIZE) edit set image controller=$(IMG)
# Build the helm chart templates from kustomize manifests
$(KUSTOMIZE) build config/helm > charts/limitador-operator/templates/manifests.yaml
V="$(VERSION)" $(YQ) eval '.version = strenv(V)' -i charts/limitador-operator/Chart.yaml
V="$(VERSION)" $(YQ) eval '.appVersion = strenv(V)' -i charts/limitador-operator/Chart.yaml

.PHONY: helm-install
helm-install: $(HELM) ## Install the helm chart
Expand Down

0 comments on commit 220d0fd

Please sign in to comment.