Revert "charts: Remove subpath from airflow volumes"

airflow.cfg file was mounted as a dir, not a file,
so airflow service doesn't want to start.

This reverts commit 6794903558.

Change-Id: I6db528ac91fc5cb6719831eb2915467105f4c491
This commit is contained in:
Daniel Pawlik 2019-07-25 08:01:15 +00:00 committed by Alexander Noskov
parent 8706ad7e65
commit fe03770031
1 changed files with 4 additions and 0 deletions

View File

@ -120,9 +120,11 @@ spec:
volumeMounts:
- name: airflow-etc
mountPath: {{ .Values.conf.airflow_config_file.path }}
subPath: airflow.cfg
readOnly: true
- name: shipyard-etc
mountPath: /usr/local/airflow/plugins/shipyard.conf
subPath: shipyard.conf
readOnly: true
- name: airflow-logs
mountPath: {{ .Values.conf.airflow.core.base_log_folder }}
@ -145,9 +147,11 @@ spec:
volumeMounts:
- name: airflow-etc
mountPath: {{ .Values.conf.airflow_config_file.path }}
subPath: airflow.cfg
readOnly: true
- name: shipyard-etc
mountPath: /usr/local/airflow/plugins/shipyard.conf
subPath: shipyard.conf
readOnly: true
- name: airflow-logs
mountPath: {{ .Values.conf.airflow.core.base_log_folder }}