diff --git a/charts/kuadrant-operator/Chart.yaml b/charts/kuadrant-operator/Chart.yaml index ef651a976..62d0068de 100644 --- a/charts/kuadrant-operator/Chart.yaml +++ b/charts/kuadrant-operator/Chart.yaml @@ -21,6 +21,7 @@ kubeVersion: ">=1.19.0-0" type: application # The chart version and dependencies will be properly set when the chart is released matching the operator version version: "0.0.0" +appVersion: "0.0.0" dependencies: - name: authorino-operator version: 0.0.0 diff --git a/make/helm.mk b/make/helm.mk index cfcb0aebe..3fe9bd3f2 100644 --- a/make/helm.mk +++ b/make/helm.mk @@ -14,6 +14,7 @@ helm-build: $(YQ) kustomize manifests ## Build the helm chart from kustomize man $(KUSTOMIZE) build config/helm > charts/kuadrant-operator/templates/manifests.yaml # Set the helm chart version and dependencies versions V="$(BUNDLE_VERSION)" $(YQ) -i e '.version = strenv(V)' charts/kuadrant-operator/Chart.yaml + V="$(BUNDLE_VERSION)" $(YQ) -i e '.appVersion = strenv(V)' charts/kuadrant-operator/Chart.yaml V="$(AUTHORINO_OPERATOR_BUNDLE_VERSION)" $(YQ) -i e '(.dependencies[] | select(.name == "authorino-operator").version) = strenv(V)' charts/kuadrant-operator/Chart.yaml V="$(LIMITADOR_OPERATOR_BUNDLE_VERSION)" $(YQ) -i e '(.dependencies[] | select(.name == "limitador-operator").version) = strenv(V)' charts/kuadrant-operator/Chart.yaml V="$(DNS_OPERATOR_BUNDLE_VERSION)" $(YQ) -i e '(.dependencies[] | select(.name == "dns-operator").version) = strenv(V)' charts/kuadrant-operator/Chart.yaml