Browse Source

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
changes/56/672656/2
Daniel Pawlik 2 years ago
committed by Alexander Noskov
parent
commit
fe03770031
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      charts/shipyard/templates/statefulset-airflow-worker.yaml

+ 4
- 0
charts/shipyard/templates/statefulset-airflow-worker.yaml 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 }}


Loading…
Cancel
Save