From 888839935987ff8490e7fda624c84d9147f9dfa3 Mon Sep 17 00:00:00 2001 From: rjshrjndrn Date: Tue, 11 Feb 2025 17:22:51 +0100 Subject: [PATCH] feat(chalice): if iam role is using then the host variable should be empty Signed-off-by: rjshrjndrn --- .../openreplay/charts/chalice/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml b/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml index f5f1183e1..7e804b288 100644 --- a/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml +++ b/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml @@ -90,7 +90,7 @@ spec: - name: SITE_URL value: '{{- include "openreplay.domainURL" . }}' - name: S3_HOST - value: '{{- include "openreplay.s3Endpoint" . }}' + value: {{- if .Values.global.s3.endpoint -}}{{- include "openreplay.s3Endpoint" . -}}{{- end }} - name: S3_KEY {{- if .Values.global.s3.existingSecret }} valueFrom: