This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/master by this push:
     new 3164025  Fix airflow_local_settings.py showing up as directory (#10999)
3164025 is described below

commit 3164025a7ab500ecd35616320b936d91db1e6d69
Author: Daniel Imberman <[email protected]>
AuthorDate: Fri Oct 9 15:49:45 2020 -0700

    Fix airflow_local_settings.py showing up as directory (#10999)
    
    Fixes a bug where the airflow_local_settings.py mounts as a volume
    if there is no value (this causes k8sExecutor pods to fail)
---
 chart/templates/configmap.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chart/templates/configmap.yaml b/chart/templates/configmap.yaml
index 605dfed..6c8f0f1 100644
--- a/chart/templates/configmap.yaml
+++ b/chart/templates/configmap.yaml
@@ -47,8 +47,8 @@ data:
     {{- .Values.webserver.webserverConfig | nindent 4 }}
 {{- end }}
 
-{{- if .Values.scheduler.airflowLocalSettings }}
   airflow_local_settings.py: |
+{{- if .Values.scheduler.airflowLocalSettings }}
     {{ .Values.scheduler.airflowLocalSettings | nindent 4 }}
 {{- end }}
 {{- if and .Values.dags.gitSync.enabled  .Values.dags.gitSync.knownHosts }}

Reply via email to