Skip to content
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

enable optional subPath for dags volume mount #22323

Merged
merged 3 commits into from
Mar 28, 2022

Conversation

ajbosco
Copy link
Contributor

@ajbosco ajbosco commented Mar 16, 2022

Users may have their DAGs on a volume that includes other things and as such want to use a subPath on the Volume Mount. This is similar to how the gitSync Volume Mount is setup.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

@boring-cyborg boring-cyborg bot added the area:helm-chart Airflow Helm Chart label Mar 16, 2022
@potiuk
Copy link
Member

potiuk commented Mar 21, 2022

I think it's a good idea @jedcunningham ? @dstandish ? WDYT?

Copy link
Member

@potiuk potiuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. But would love to hear what others think

@github-actions
Copy link

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Mar 21, 2022
tests/charts/test_scheduler.py Outdated Show resolved Hide resolved
@jedcunningham
Copy link
Member

On second look, can you add the option to values.yaml as well?

dags:
  persistence:
    subPath: ~

@jedcunningham jedcunningham added the type:new-feature Changelog: New Features label Mar 28, 2022
@jedcunningham jedcunningham merged commit 743121b into apache:main Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:helm-chart Airflow Helm Chart full tests needed We need to run full set of tests for this PR to merge type:new-feature Changelog: New Features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants