Skip to content

Commit 17d4dc9

Browse files
committed
chore: add pythonpath to container envs
1 parent 03eb5b7 commit 17d4dc9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

helm/cas-airflow/values.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ airflow:
4444
value: /gcs/credentials.json
4545
- name: AIRFLOW__DAG_PROCESSOR__DAG_BUNDLE_STORAGE_PATH
4646
value: "/opt/airflow/dag_bundles"
47+
# Allows for the dags to import the common configuration `dags/dag_configuration.py`
48+
- name: PYTHONPATH
49+
value: "/opt/airflow/dags:/opt/airflow/dag_bundles"
4750

4851
# Images
4952
images:
@@ -145,8 +148,6 @@ airflow:
145148
cpu: 50m
146149
memory: 800Mi
147150
env:
148-
- name: PYTHONPATH
149-
value: "/opt/airflow/dags"
150151
- name: ENVIRONMENT
151152
value: dev
152153
# Git bundles and sync

0 commit comments

Comments
 (0)