From f958f511348085e183b99c88eb63255e5011ccef Mon Sep 17 00:00:00 2001 From: shreddedbacon Date: Wed, 6 Mar 2024 13:37:57 +1100 Subject: [PATCH] feat: add s3host to actions handler --- .../lagoon-core/templates/actions-handler.deployment.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/charts/lagoon-core/templates/actions-handler.deployment.yaml b/charts/lagoon-core/templates/actions-handler.deployment.yaml index 027d8cfea..3f1f7d87c 100644 --- a/charts/lagoon-core/templates/actions-handler.deployment.yaml +++ b/charts/lagoon-core/templates/actions-handler.deployment.yaml @@ -61,6 +61,14 @@ spec: key: JWTSECRET - name: GRAPHQL_ENDPOINT value: http://{{ include "lagoon-core.api.fullname" . }}:{{ .Values.api.service.port }}/graphql + - name: S3_FILES_BUCKET + value: {{ required "A valid .Values.s3FilesBucket required!" .Values.s3FilesBucket | quote }} + - name: S3_FILES_HOST + value: {{ required "A valid .Values.s3FilesHost required!" .Values.s3FilesHost | quote }} + {{- with .Values.s3FilesRegion }} + - name: S3_FILES_REGION + value: {{ . | quote }} + {{- end }} {{- range $key, $val := .Values.actionsHandler.additionalEnvs }} - name: {{ $key }} value: {{ $val | quote }}