gardnerdev opened a new issue #10793:
URL: https://github.com/apache/airflow/issues/10793
**Apache Airflow version**: 1.10.12
**Kubernetes version (if you are using kubernetes)** (use `kubectl
version`): 1.18
**What happened**: Mounting DAGS from an externally populated PVC doesn't
work:
```
--set dags.persistence.enabled=true \
--set dags.persistence.existingClaim=my-volume-claim
--set dags.gitSync.enabled=false
```
Envionment variables from K8 Executor worker
> │ Environment:
> ││ AIRFLOW_HOME: /opt/airflow
││
AIRFLOW__CORE__DAGS_FOLDER: /opt/airflow/dags/repo/
> ││ AIRFLOW__CORE__DAG_CONCURRENCY: 5
│
> │ AIRFLOW__CORE__EXECUTOR: LocalExecutor
│
> │ AIRFLOW__CORE__FERNET_KEY: <set to the key
'fernet-key' in secret 'airflow-fernet-key'> Optional: false │
> │ AIRFLOW__CORE__PARALLELISM: 5
│
> │ AIRFLOW__CORE__SQL_ALCHEMY_CONN: <set to the key
'connection' in secret 'airflow-airflow-metadata'> Optional: false │
> │ AIRFLOW__KUBERNETES__DAGS_VOLUME_SUBPATH: repo/
<!-- (please include exact error messages if you can) -->
**What you expected to happen**: Dags mounted in workers from PVC
<!-- What do you think went wrong? -->
**How to reproduce it**: Use chart from master and set variables as above
<!---
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]