From 6c893d263fe11866b220d55a99a79ceea7c6828a Mon Sep 17 00:00:00 2001 From: dd di cesare Date: Wed, 20 Nov 2024 15:02:51 +0100 Subject: [PATCH] [helm] Adding `appVersion` to show in the helm cli Signed-off-by: dd di cesare --- charts/authorino-operator/Chart.yaml | 1 + make/helm.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/charts/authorino-operator/Chart.yaml b/charts/authorino-operator/Chart.yaml index 741bc0e..9e9d8a1 100644 --- a/charts/authorino-operator/Chart.yaml +++ b/charts/authorino-operator/Chart.yaml @@ -19,6 +19,7 @@ kubeVersion: ">=1.19.0-0" type: application # The version will be properly set when the chart is released matching the operator version version: "0.0.0" +appVersion: "0.0.0" maintainers: - email: mcassola@redhat.com name: Guilherme Cassolato diff --git a/make/helm.mk b/make/helm.mk index 24f83b3..7bb510b 100644 --- a/make/helm.mk +++ b/make/helm.mk @@ -11,6 +11,7 @@ helm-build: $(YQ) kustomize manifests ## Build the helm chart from kustomize man # Build the helm chart templates from kustomize manifests $(KUSTOMIZE) build config/helm > charts/authorino-operator/templates/manifests.yaml V="$(BUNDLE_VERSION)" $(YQ) -i e '.version = strenv(V)' charts/authorino-operator/Chart.yaml + V="$(BUNDLE_VERSION)" $(YQ) -i e '.appVersion = strenv(V)' charts/authorino-operator/Chart.yaml # Roll back edit cd config/manager && $(KUSTOMIZE) edit set image controller=${DEFAULT_OPERATOR_IMAGE} cd config/helm && $(KUSTOMIZE) edit set namespace authorino-operator