From b4a1d8344e55378baa5a6587e9ff43b29f60076c Mon Sep 17 00:00:00 2001 From: Rajesh Rajendran Date: Mon, 17 Jan 2022 01:58:04 +0530 Subject: [PATCH] chore(helm): dynamic injection of version in chalice Signed-off-by: Rajesh Rajendran --- .../openreplay/charts/chalice/templates/deployment.yaml | 2 ++ scripts/helm/helmcharts/openreplay/charts/chalice/values.yaml | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/helm/helmcharts/openreplay/charts/chalice/templates/deployment.yaml b/scripts/helm/helmcharts/openreplay/charts/chalice/templates/deployment.yaml index a092c29aa..805873de7 100644 --- a/scripts/helm/helmcharts/openreplay/charts/chalice/templates/deployment.yaml +++ b/scripts/helm/helmcharts/openreplay/charts/chalice/templates/deployment.yaml @@ -38,6 +38,8 @@ spec: {{- end }} imagePullPolicy: {{ .Values.image.pullPolicy }} env: + - name: version_number + value: '{{ .Chart.AppVersion }}' - name: pg_host value: '{{ .Values.global.postgresql.postgresqlHost }}' - name: pg_port diff --git a/scripts/helm/helmcharts/openreplay/charts/chalice/values.yaml b/scripts/helm/helmcharts/openreplay/charts/chalice/values.yaml index bb8139ede..509516136 100644 --- a/scripts/helm/helmcharts/openreplay/charts/chalice/values.yaml +++ b/scripts/helm/helmcharts/openreplay/charts/chalice/values.yaml @@ -98,7 +98,6 @@ env: # Enable logging for python app # Ref: https://stackoverflow.com/questions/43969743/logs-in-kubernetes-pod-not-showing-up PYTHONUNBUFFERED: '0' - version_number: '1.3.6' SAML2_MD_URL: '' idp_entityId: '' idp_sso_url: ''