From 6794903558495e288f9cb6794e6459409de1fc71 Mon Sep 17 00:00:00 2001 From: Drew Walters Date: Mon, 22 Jul 2019 14:48:44 +0000 Subject: [PATCH] charts: Remove subpath from airflow volumes Recently, the airflow config mounts were changed to projected volumes to workaround a K8s bug [0]; however, a subpath prevents the configs from being properly mounted. This change removes the subpath. [0] https://review.opendev.org/671944 Change-Id: I9bbe91d3e27b293a6fd27c00545329bc8a36f926 Signed-off-by: Drew Walters --- charts/shipyard/templates/statefulset-airflow-worker.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/charts/shipyard/templates/statefulset-airflow-worker.yaml b/charts/shipyard/templates/statefulset-airflow-worker.yaml index cfbf9e48..b4ac34f6 100644 --- a/charts/shipyard/templates/statefulset-airflow-worker.yaml +++ b/charts/shipyard/templates/statefulset-airflow-worker.yaml @@ -120,11 +120,9 @@ 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 }} @@ -147,11 +145,9 @@ 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 }}