From f0edf27de695af6bf63ce5f9b22a1bb2f5d6329d Mon Sep 17 00:00:00 2001 From: Neel Dalsania Date: Mon, 9 Jan 2023 13:14:26 +0530 Subject: [PATCH] updated the dags folder access from read only to shared in scheduler container (#1003) --- airflow/docker_test.go | 4 ++-- airflow/include/composeyml.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/airflow/docker_test.go b/airflow/docker_test.go index d0becf610..46f901a99 100644 --- a/airflow/docker_test.go +++ b/airflow/docker_test.go @@ -110,7 +110,7 @@ services: - postgres environment: *common-env-vars volumes: - - airflow_home/dags:/usr/local/airflow/dags:ro + - airflow_home/dags:/usr/local/airflow/dags:z - airflow_home/plugins:/usr/local/airflow/plugins:z - airflow_home/include:/usr/local/airflow/include:z - airflow_home/tests:/usr/local/airflow/tests:z @@ -221,7 +221,7 @@ services: - postgres environment: *common-env-vars volumes: - - airflow_home/dags:/usr/local/airflow/dags:ro + - airflow_home/dags:/usr/local/airflow/dags:z - airflow_home/plugins:/usr/local/airflow/plugins:z - airflow_home/include:/usr/local/airflow/include:z - airflow_home/tests:/usr/local/airflow/tests:z diff --git a/airflow/include/composeyml.yml b/airflow/include/composeyml.yml index a89f6960d..c294c7183 100644 --- a/airflow/include/composeyml.yml +++ b/airflow/include/composeyml.yml @@ -54,7 +54,7 @@ services: - postgres environment: *common-env-vars volumes: - - {{ .AirflowHome }}/dags:/usr/local/airflow/dags:ro + - {{ .AirflowHome }}/dags:/usr/local/airflow/dags:{{ .MountLabel }} - {{ .AirflowHome }}/plugins:/usr/local/airflow/plugins:{{ .MountLabel }} - {{ .AirflowHome }}/include:/usr/local/airflow/include:{{ .MountLabel }} - {{ .AirflowHome }}/tests:/usr/local/airflow/tests:{{ .MountLabel }}