Commit 2b6d6ada authored by Daniel Scholl's avatar Daniel Scholl
Browse files

Merge branch 'airflow-plugins-folder-mount' into 'master'

Mounted plugins folder into airflow

See merge request osdu/platform/deployment-and-operations/infra-azure-provisioning!76
parents 0886d8af 13a77ddc
......@@ -121,6 +121,7 @@ airflow:
AIRFLOW__CORE__LOG_FILENAME_TEMPLATE: "{{ run_id }}/{{ ti.dag_id }}/{{ ti.task_id }}/{{ ts }}/{{ try_number }}.log"
AIRFLOW__CELERY__SSL_ACTIVE: "True"
AIRFLOW__WEBSERVER__ENABLE_PROXY_FIX: "True"
AIRFLOW__CORE__PLUGINS_FOLDER: "/opt/airflow/plugins"
extraEnv:
- name: AIRFLOW__CORE__FERNET_KEY
valueFrom:
......@@ -147,6 +148,9 @@ airflow:
- name: azure-keyvault
mountPath: "/mnt/azure-keyvault"
readOnly: true
- name: dags-data
mountPath: /opt/airflow/plugins
subPath: plugins
extraVolumes:
- name: azure-keyvault
csi:
......@@ -159,6 +163,7 @@ airflow:
persistence:
enabled: true
existingClaim: airflowdagpvc
subPath: "dags"
scheduler:
podLabels:
aadpodidbinding: "osdu-identity"
......
......@@ -27,6 +27,7 @@ airflow:
AIRFLOW__CORE__LOG_FILENAME_TEMPLATE: "{{ run_id }}/{{ ti.dag_id }}/{{ ti.task_id }}/{{ ts }}/{{ try_number }}.log"
AIRFLOW__CELERY__SSL_ACTIVE: "True"
AIRFLOW__WEBSERVER__ENABLE_PROXY_FIX: "True"
AIRFLOW__CORE__PLUGINS_FOLDER: "/opt/airflow/plugins"
extraEnv:
- name: AIRFLOW__CORE__FERNET_KEY
valueFrom:
......@@ -53,6 +54,9 @@ airflow:
- name: azure-keyvault
mountPath: "/mnt/azure-keyvault"
readOnly: true
- name: dags-data
mountPath: /opt/airflow/plugins
subPath: plugins
extraVolumes:
- name: azure-keyvault
csi:
......@@ -65,6 +69,7 @@ airflow:
persistence:
enabled: true
existingClaim: airflowdagpvc
subPath: "dags"
scheduler:
podLabels:
aadpodidbinding: "osdu-identity"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment