diff --git a/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml b/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml index 2eb61582c..3d86796a7 100644 --- a/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml +++ b/scripts/helmcharts/openreplay/charts/chalice/templates/deployment.yaml @@ -92,7 +92,7 @@ spec: - name: SITE_URL value: '{{- include "openreplay.domainURL" . }}' - name: S3_HOST - value: {{- if .Values.global.s3.endpoint -}}{{- include "openreplay.s3Endpoint" . -}}{{- end }} + value: {{ if .Values.global.s3.endpoint }}{{ include "openreplay.s3Endpoint" . }}{{ end }} - name: S3_KEY {{- if .Values.global.s3.existingSecret }} valueFrom: