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: ...@@ -121,6 +121,7 @@ airflow:
AIRFLOW__CORE__LOG_FILENAME_TEMPLATE: "{{ run_id }}/{{ ti.dag_id }}/{{ ti.task_id }}/{{ ts }}/{{ try_number }}.log" AIRFLOW__CORE__LOG_FILENAME_TEMPLATE: "{{ run_id }}/{{ ti.dag_id }}/{{ ti.task_id }}/{{ ts }}/{{ try_number }}.log"
AIRFLOW__CELERY__SSL_ACTIVE: "True" AIRFLOW__CELERY__SSL_ACTIVE: "True"
AIRFLOW__WEBSERVER__ENABLE_PROXY_FIX: "True" AIRFLOW__WEBSERVER__ENABLE_PROXY_FIX: "True"
AIRFLOW__CORE__PLUGINS_FOLDER: "/opt/airflow/plugins"
extraEnv: extraEnv:
- name: AIRFLOW__CORE__FERNET_KEY - name: AIRFLOW__CORE__FERNET_KEY
valueFrom: valueFrom:
...@@ -147,6 +148,9 @@ airflow: ...@@ -147,6 +148,9 @@ airflow:
- name: azure-keyvault - name: azure-keyvault
mountPath: "/mnt/azure-keyvault" mountPath: "/mnt/azure-keyvault"
readOnly: true readOnly: true
- name: dags-data
mountPath: /opt/airflow/plugins
subPath: plugins
extraVolumes: extraVolumes:
- name: azure-keyvault - name: azure-keyvault
csi: csi:
...@@ -159,6 +163,7 @@ airflow: ...@@ -159,6 +163,7 @@ airflow:
persistence: persistence:
enabled: true enabled: true
existingClaim: airflowdagpvc existingClaim: airflowdagpvc
subPath: "dags"
scheduler: scheduler:
podLabels: podLabels:
aadpodidbinding: "osdu-identity" aadpodidbinding: "osdu-identity"
......
...@@ -27,6 +27,7 @@ airflow: ...@@ -27,6 +27,7 @@ airflow:
AIRFLOW__CORE__LOG_FILENAME_TEMPLATE: "{{ run_id }}/{{ ti.dag_id }}/{{ ti.task_id }}/{{ ts }}/{{ try_number }}.log" AIRFLOW__CORE__LOG_FILENAME_TEMPLATE: "{{ run_id }}/{{ ti.dag_id }}/{{ ti.task_id }}/{{ ts }}/{{ try_number }}.log"
AIRFLOW__CELERY__SSL_ACTIVE: "True" AIRFLOW__CELERY__SSL_ACTIVE: "True"
AIRFLOW__WEBSERVER__ENABLE_PROXY_FIX: "True" AIRFLOW__WEBSERVER__ENABLE_PROXY_FIX: "True"
AIRFLOW__CORE__PLUGINS_FOLDER: "/opt/airflow/plugins"
extraEnv: extraEnv:
- name: AIRFLOW__CORE__FERNET_KEY - name: AIRFLOW__CORE__FERNET_KEY
valueFrom: valueFrom:
...@@ -53,6 +54,9 @@ airflow: ...@@ -53,6 +54,9 @@ airflow:
- name: azure-keyvault - name: azure-keyvault
mountPath: "/mnt/azure-keyvault" mountPath: "/mnt/azure-keyvault"
readOnly: true readOnly: true
- name: dags-data
mountPath: /opt/airflow/plugins
subPath: plugins
extraVolumes: extraVolumes:
- name: azure-keyvault - name: azure-keyvault
csi: csi:
...@@ -65,6 +69,7 @@ airflow: ...@@ -65,6 +69,7 @@ airflow:
persistence: persistence:
enabled: true enabled: true
existingClaim: airflowdagpvc existingClaim: airflowdagpvc
subPath: "dags"
scheduler: scheduler:
podLabels: podLabels:
aadpodidbinding: "osdu-identity" aadpodidbinding: "osdu-identity"
......
Supports Markdown
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