From 048f6c79d681b6fcd09b8b4a29f494420f66a309 Mon Sep 17 00:00:00 2001 From: mrestivill Date: Wed, 8 Jan 2025 13:52:31 +0100 Subject: [PATCH 1/2] fix: added new envFrom on logGroomerSidecar --- chart/templates/scheduler/scheduler-deployment.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/chart/templates/scheduler/scheduler-deployment.yaml b/chart/templates/scheduler/scheduler-deployment.yaml index ed63f1ef46903..6d37a45a22acd 100644 --- a/chart/templates/scheduler/scheduler-deployment.yaml +++ b/chart/templates/scheduler/scheduler-deployment.yaml @@ -264,6 +264,7 @@ spec: {{- if .Values.scheduler.logGroomerSidecar.args }} args: {{- tpl (toYaml .Values.scheduler.logGroomerSidecar.args) . | nindent 12 }} {{- end }} + envFrom: {{- include "custom_airflow_environment_from" . | default "\n []" | indent 10 }} {{- if .Values.scheduler.logGroomerSidecar.retentionDays }} env: - name: AIRFLOW__LOG_RETENTION_DAYS From e94d7f58dcf1905817952e9cdac8091f3a4c8b9c Mon Sep 17 00:00:00 2001 From: mrestivill Date: Wed, 8 Jan 2025 13:54:21 +0100 Subject: [PATCH 2/2] fix: add envFrom on loggroomersidecar on triggerer --- chart/templates/triggerer/triggerer-deployment.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/chart/templates/triggerer/triggerer-deployment.yaml b/chart/templates/triggerer/triggerer-deployment.yaml index 5218d6d0a6c7d..f555784ef6519 100644 --- a/chart/templates/triggerer/triggerer-deployment.yaml +++ b/chart/templates/triggerer/triggerer-deployment.yaml @@ -240,6 +240,7 @@ spec: {{- if .Values.triggerer.logGroomerSidecar.args }} args: {{- tpl (toYaml .Values.triggerer.logGroomerSidecar.args) . | nindent 12 }} {{- end }} + envFrom: {{- include "custom_airflow_environment_from" . | default "\n []" | indent 10 }} {{- if .Values.triggerer.logGroomerSidecar.retentionDays }} env: - name: AIRFLOW__LOG_RETENTION_DAYS