From 325411ad263b834c11fd4c6a6732fe82e5655302 Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Thu, 29 Sep 2022 16:16:13 +0200 Subject: [PATCH] chore(helm): Adding variables Signed-off-by: rjshrjndrn --- .../openreplay/charts/assist/templates/deployment.yaml | 4 ++++ .../openreplay/charts/chalice/templates/deployment.yaml | 4 ++++ scripts/helmcharts/vars.yaml | 3 +++ 3 files changed, 11 insertions(+) diff --git a/scripts/helmcharts/openreplay/charts/assist/templates/deployment.yaml b/scripts/helmcharts/openreplay/charts/assist/templates/deployment.yaml index 2a776ab58..cffbe6bc3 100644 --- a/scripts/helmcharts/openreplay/charts/assist/templates/deployment.yaml +++ b/scripts/helmcharts/openreplay/charts/assist/templates/deployment.yaml @@ -42,6 +42,10 @@ spec: {{- .Values.healthCheck | toYaml | nindent 10}} {{- end}} env: + - name: ASSIST_JWT_SECRET + value: {{ .Values.global.assistJWTSecret }} + - name: ASSIST_KEY + value: {{ .Values.global.assistKey }} - name: AWS_DEFAULT_REGION value: "{{ .Values.global.s3.region }}" - name: S3_HOST diff --git a/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml b/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml index d2aafc35a..fb99d21fb 100644 --- a/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml +++ b/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml @@ -42,6 +42,10 @@ spec: {{- .Values.healthCheck | toYaml | nindent 10}} {{- end}} env: + - name: ASSIST_JWT_SECRET + value: {{ .Values.global.assistJWTSecret }} + - name: ASSIST_KEY + value: {{ .Values.global.assistKey }} - name: LICENSE_KEY value: '{{ .Values.global.enterpriseEditionLicense }}' - name: version_number diff --git a/scripts/helmcharts/vars.yaml b/scripts/helmcharts/vars.yaml index 94d1fe50c..3781f0aa1 100644 --- a/scripts/helmcharts/vars.yaml +++ b/scripts/helmcharts/vars.yaml @@ -91,6 +91,9 @@ global: kafka: *kafka redis: *redis openReplayContainerRegistry: "public.ecr.aws/p1t3u8a3" + # secret key to inject to assist and peers service + assistKey: "SetARandomStringHere" + assistJWTSecret: "SetARandomStringHere" s3: region: "us-east-1" endpoint: "http://minio.db.svc.cluster.local:9000"