Skip to content

Conversation

@ephraimbuddy
Copy link
Contributor

In scheduler and triggerer components, git-sync-ssh-key volume was created even
when persistence is enabled. This PR fixes that and added tests
in other components to avoid regression

@boring-cyborg boring-cyborg bot added the area:helm-chart Airflow Helm Chart label Apr 11, 2022
@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Stale PRs per the .github/workflows/stale.yml policy file label Jul 28, 2022
@ephraimbuddy ephraimbuddy removed the stale Stale PRs per the .github/workflows/stale.yml policy file label Jul 28, 2022
Copy link
Member

@jedcunningham jedcunningham left a comment

Choose a reason for hiding this comment

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

There is a conflict, then I think this is ready to go.

@jedcunningham jedcunningham added this to the Airflow Helm Chart 1.7.0 milestone Aug 5, 2022
ephraimbuddy and others added 4 commits August 6, 2022 08:16
In scheduler and triggerer components, git-sync-ssh-key volume was created even
when persistence is enabled. This PR fixes that and added tests
in other components to avoid regression
Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
Co-authored-by: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com>
In scheduler and triggerer components, git-sync-ssh-key volume was created even
when persistence is enabled. This PR fixes that and added tests
in other components to avoid regression
@potiuk potiuk merged commit 3fc895b into apache:main Aug 6, 2022
@ephraimbuddy ephraimbuddy deleted the gitsync-vol branch August 6, 2022 19:01
@vrychkov-repay
Copy link

vrychkov-repay commented Jan 5, 2023

This change breaks scheduler deployment when dag persistence, git-sync and git-sync-ssh-key are enabled. In this case, git-sync-ssh-key volume mount will still be generated (see _helpers), without the corresponding git-sync-ssh-key volume.

@j-mercier
Copy link

j-mercier commented Apr 26, 2023

This change breaks scheduler deployment when dag persistence, git-sync and git-sync-ssh-key are enabled. In this case, git-sync-ssh-key volume mount will still be generated (see _helpers), without the corresponding git-sync-ssh-key volume.

+1
Is it possible to revert this PR? @potiuk @ephraimbuddy @jedcunningham

j-mercier added a commit to j-mercier/airflow that referenced this pull request Apr 27, 2023
…s enabled (apache#22913)"

This reverts commit 3fc895b

(cherry picked from commit 6c51e82)

We want to mount a volume for sshKeySecret in case git-sync is enabled independently of persistence being enabled or not.
@potiuk
Copy link
Member

potiuk commented Apr 28, 2023

This change breaks scheduler deployment when dag persistence, git-sync and git-sync-ssh-key are enabled. In this case, git-sync-ssh-key volume mount will still be generated (see _helpers), without the corresponding git-sync-ssh-key volume.

+1 Is it possible to revert this PR? @potiuk @ephraimbuddy @jedcunningham

Feel free to open PR which reverts the change, describing why and what happens there.

@dolfinus
Copy link
Contributor

Feel free to open PR

Done: #34331

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants