-
Notifications
You must be signed in to change notification settings - Fork 14.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix Helm GitSync dag volume mount #15331
Conversation
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contribution Guide (https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst)
|
👍 |
Awesome work, congrats on your first merged pull request! |
…che#15331)" This reverts commit e4c0689.
I did some testing in master, and this is actually an invalid fix. It seems this is broken in branch |
@matttattoli Sure if it is an invalid fix let's revert this and add a test so next time this test fails on such a change :) We are planning to release Helm chart -- early May so only use it from Master instead of v2-0-stable |
Revert PR here: #15390 Good to know, excited to hear the helm chart will be hosted soon. Will use master until then. Sorry for any inconvenience. |
This fixes an issue where the workers cannot find the dag that is meant to run.
With git-sync enabled, the airflow_dag location is being set to where the dags are being cloned to, ex
$AIRFLOWHOME/dags/repo/dags
, but the subpath is remapping it to$AIRFLOWHOME/dags
, thus the workers are not able to find the actually dag.Also related: https://github.com/apache/airflow/blob/master/chart/templates/_helpers.yaml#L333
Removing the subpath resolves this issue. I locally ran the helm unit tests, and it succeeded.