Commit 13a77ddc authored by Kishore Battula's avatar Kishore Battula
Browse files

Mounted plugins folder into airflow

parent 9e3d482d
...@@ -118,6 +118,7 @@ airflow: ...@@ -118,6 +118,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:
...@@ -144,6 +145,9 @@ airflow: ...@@ -144,6 +145,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:
...@@ -156,6 +160,7 @@ airflow: ...@@ -156,6 +160,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