set env variables on helm-deployed apps so that they work as expected

Signed-off-by: Pascal Sthamer <pascal+github@sthamer.xyz>
This commit is contained in:
Pascal Sthamer
2025-12-05 16:00:13 +01:00
parent 82edd747ad
commit fb07662d7a
2 changed files with 25 additions and 8 deletions
@@ -120,6 +120,16 @@ spec:
args: {{- include "common.tplvalues.render" (dict "value" $appValues.args "context" $) | nindent 12 }}
{{- end }}
env:
- name: AUTHORIZATION
value: ""
- name: EXECUTIONID
value: ""
- name: BASE_URL
value: {{ include "shuffle.worker.baseUrl" $ | quote }}
- name: CALLBACK_URL
value: {{ include "shuffle.backend.baseUrl" $ | quote }}
- name: SHUFFLE_SWARM_CONFIG
value: run # Shuffle Worker requires this to be set even when using K8s instead of swarm
{{- $env := include "shuffle.appInstance.env" $ | fromYaml }}
{{- range $key, $val := $env }}
- name: {{ $key | quote }}
@@ -302,4 +312,4 @@ spec:
{{- end }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}