From 7a690329be49fed982723196f60a1574cd88d5e4 Mon Sep 17 00:00:00 2001 From: Rajesh Rajendran Date: Mon, 17 Jan 2022 04:07:28 +0530 Subject: [PATCH] chore(helm): adding site_url variable Signed-off-by: Rajesh Rajendran --- .../openreplay/charts/alerts/templates/deployment.yaml | 2 ++ scripts/helmcharts/openreplay/charts/alerts/values.yaml | 1 - .../openreplay/charts/chalice/templates/deployment.yaml | 2 ++ scripts/helmcharts/openreplay/charts/chalice/values.yaml | 1 - 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/helmcharts/openreplay/charts/alerts/templates/deployment.yaml b/scripts/helmcharts/openreplay/charts/alerts/templates/deployment.yaml index 21b7c9167..6cdbe17b6 100644 --- a/scripts/helmcharts/openreplay/charts/alerts/templates/deployment.yaml +++ b/scripts/helmcharts/openreplay/charts/alerts/templates/deployment.yaml @@ -50,6 +50,8 @@ spec: value: '{{ .Values.global.postgresql.postgresqlUser }}' - name: pg_password value: '{{ .Values.global.postgresql.postgresqlPassword }}' + - name: SITE_URL + value: 'https://{{ .Values.global.domainName }}' - name: S3_HOST {{- if eq .Values.global.s3.endpoint "http://minio.db.svc.cluster.local:9000" }} value: 'https://{{ .Values.global.domainName }}' diff --git a/scripts/helmcharts/openreplay/charts/alerts/values.yaml b/scripts/helmcharts/openreplay/charts/alerts/values.yaml index 590303a91..294434fd8 100644 --- a/scripts/helmcharts/openreplay/charts/alerts/values.yaml +++ b/scripts/helmcharts/openreplay/charts/alerts/values.yaml @@ -76,7 +76,6 @@ autoscaling: # targetMemoryUtilizationPercentage: 80 env: - SITE_URL: '' PYTHONUNBUFFERED: '0' diff --git a/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml b/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml index dd67fa1c5..ab68e07b7 100644 --- a/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml +++ b/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml @@ -50,6 +50,8 @@ spec: value: '{{ .Values.global.postgresql.postgresqlUser }}' - name: pg_password value: '{{ .Values.global.postgresql.postgresqlPassword }}' + - name: SITE_URL + value: 'https://{{ .Values.global.domainName }}' - name: S3_HOST {{- if eq .Values.global.s3.endpoint "http://minio.db.svc.cluster.local:9000" }} value: 'https://{{ .Values.global.domainName }}' diff --git a/scripts/helmcharts/openreplay/charts/chalice/values.yaml b/scripts/helmcharts/openreplay/charts/chalice/values.yaml index 4418bd704..e5c579739 100644 --- a/scripts/helmcharts/openreplay/charts/chalice/values.yaml +++ b/scripts/helmcharts/openreplay/charts/chalice/values.yaml @@ -81,7 +81,6 @@ env: captcha_server: '' captcha_key: '' async_Token: '' - SITE_URL: '' announcement_url: '' jwt_secret: "SetARandomStringHere" jwt_algorithm: HS512