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