hazelrah-qr opened a new issue, #25928:
URL: https://github.com/apache/airflow/issues/25928
### Official Helm Chart version
1.6.0 (latest released)
### Apache Airflow version
2.3.2
### Kubernetes Version
1.20.11
### Helm Chart configuration
```
dags.gitSync.branch=develop
dags.gitSync.subPath=dags
```
```
dags:
persistence:
enabled: true
size: 1Gi
storageClassName: "file-dr-off-pdc1"
accessMode: ReadWriteMany
gitSync:
enabled: true
branch: master
rev: HEAD
depth: 1
maxFailures: 3
env:
- name: GIT_SYNC_SUBMODULES
value: 'off'
```
### Docker Image customisations
_No response_
### What happened
When applying the provided values.yml the whole repository is still synced,
not just the dags folder in the repository.
```
airflow@ci-airflow-scheduler-4k4gn:/opt/airflow/dags/repo$ ls
README.md dags docker-compose.yaml docker-compose.yml pyproject.toml
tests
```
### What you think should happen instead
Only the provided subPath would be synced in to `/opt/airflow/dags/repo`
### How to reproduce
_No response_
### Anything else
_No response_
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]