From b63fc0baea6917ffbdfeddb3b076e6ae2bdf29b9 Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Mon, 27 Nov 2023 19:06:33 +0100 Subject: [PATCH] chore(chalice): fix sourcemaps s3 connection Signed-off-by: rjshrjndrn --- .../openreplay/charts/chalice/templates/deployment.yaml | 2 +- .../charts/sourcemapreader/templates/deployment.yaml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml b/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml index 74edafc7f..73e70886a 100644 --- a/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml +++ b/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml @@ -55,7 +55,7 @@ spec: - name: ch_port value: "{{ .Values.global.clickhouse.service.webPort }}" - name: sourcemaps_reader - value: "http://sourcemapreader-openreplay.{{.Release.Namespace}}.{{.Values.global.clusterDomain}}:9000/sourcemaps/%s/sourcemaps" + value: "http://sourcemapreader-openreplay.{{.Release.Namespace}}.{{.Values.global.clusterDomain}}:9000/%s/sourcemaps" - name: ASSIST_URL value: "http://assist-openreplay.{{.Release.Namespace}}.{{.Values.global.clusterDomain}}:9001/assist/%s" - name: ASSIST_JWT_SECRET diff --git a/scripts/helmcharts/openreplay/charts/sourcemapreader/templates/deployment.yaml b/scripts/helmcharts/openreplay/charts/sourcemapreader/templates/deployment.yaml index 94738b7d8..bb5086ca7 100644 --- a/scripts/helmcharts/openreplay/charts/sourcemapreader/templates/deployment.yaml +++ b/scripts/helmcharts/openreplay/charts/sourcemapreader/templates/deployment.yaml @@ -51,9 +51,11 @@ spec: - name: {{ $key }} value: '{{ $val }}' {{- end }} - - name: AWS_ACCESS_KEY_ID + - name: S3_HOST + value: {{ .Values.global.s3.endpoint }} + - name: S3_KEY value: {{ .Values.global.s3.accessKey }} - - name: AWS_SECRET_ACCESS_KEY + - name: S3_SECRET value: {{ .Values.global.s3.secretKey }} - name: AWS_REGION value: '{{ .Values.global.s3.region }}'