diff --git a/make/helm.mk b/make/helm.mk index 8c9b7a3a..e5b7f266 100644 --- a/make/helm.mk +++ b/make/helm.mk @@ -1,7 +1,7 @@ ##@ Helm Charts .PHONY: helm-build -helm-build: ## Builds the helm chart from kustomize manifests +helm-build: ## Build the helm chart from kustomize manifests # Generate kustomize manifests out of code notations $(OPERATOR_SDK) generate kustomize manifests -q # Set desired operator image and related limitador image @@ -10,3 +10,18 @@ helm-build: ## Builds the helm chart from kustomize manifests 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 + +.PHONY: helm-install +helm-install: ## Install the helm chart + # Install the helm chart in the cluster + helm install limitador-operator charts/limitador-operator + +.PHONY: helm-uninstall +helm-uninstall: ## Uninstall the helm chart + # Uninstall the helm chart from the cluster + helm uninstall limitador-operator + +.PHONY: helm-upgrade +helm-upgrade: ## Upgrade the helm chart + # Upgrade the helm chart in the cluster + helm upgrade limitador-operator charts/limitador-operator