From 987de89ce4f60f9c2faeac695999bf207bd332ae Mon Sep 17 00:00:00 2001 From: Piotr Skrydalewicz Date: Thu, 19 Dec 2024 18:18:04 +0100 Subject: [PATCH] feat(executor): Add envsFrom to the executor --- charts/datahub-executor-worker/templates/workload.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/charts/datahub-executor-worker/templates/workload.yaml b/charts/datahub-executor-worker/templates/workload.yaml index 75864aa..304198c 100644 --- a/charts/datahub-executor-worker/templates/workload.yaml +++ b/charts/datahub-executor-worker/templates/workload.yaml @@ -142,9 +142,13 @@ spec: value: {{ .Values.global.datahub.executor.ingestions.signal_poll_interval | quote }} - name: DATAHUB_EXECUTOR_MONITORS_MAX_WORKERS value: {{ .Values.global.datahub.executor.monitors.max_workers | quote }} - {{- if .Values.extraEnvs }} + {{- if .Values.extraEnvs -}} {{ toYaml .Values.extraEnvs | nindent 12 }} {{- end }} + {{- if .Values.extraEnvsFrom }} + envFrom: + {{- toYaml .Values.extraEnvsFrom | nindent 12 }} + {{- end }} volumeMounts: {{- if .Values.extraCaCerts }} - name: ca-certs