Repository navigation
Add Git-Sync to GitDagBundle migration guide for the Helm chart - #73082
Conversation
The Git-Sync sidecar (dags.gitSync) is planned for removal in Helm Chart 2.0 in favour of the Airflow-native GitDagBundle. This adds a chart docs page mapping the old dags.gitSync values to their dagProcessor.dagBundleConfigList equivalents, with authentication patterns and a step-by-step migration.
|
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 Contributors' Guide
|
Veyu noted Git-Sync could checkout any commit via rev/ref params, so the statement that it always checked out the latest commit was not accurate. Removed that sentence per the preferred fix, keeping the GitDagBundle versioning note.
…uide - Fix spellcheck: favour -> favor (en_US) - Generalize Git-Sync sidecar description (persistence-setting dependent) - Prereq: latest Helm Chart 1.x release with Airflow 3 - credentialsSecret row lists both GITSYNC_* and GIT_SYNC_* key names - Clarify what kwargs.git_conn_id refers to - Note the Airflow Connection UI/CLI alternative to extraSecrets/extraEnv
|
Hi Miretpl, a heads-up that the September 25 revision addresses each of your five review comments: the shared DAG folder wording in What is changing, the Helm Chart 1.x prerequisite bullet, the credentialsSecret env var list in the mapping table, the clarification of what kwargs.git_conn_id refers to, and a new paragraph noting the git connection can also be created directly in the Airflow UI or with airflow connections add. Would you mind taking another look when you get a chance? |
Backport successfully created: chart/v1-2x-testNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
|
|
Thanks Miretpl, appreciate the review and the merge. Happy to help with any follow-up. |
…he Helm chart (#73082) (#76392) * Add migration guide from Git-Sync sidecar to GitDagBundle The Git-Sync sidecar (dags.gitSync) is planned for removal in Helm Chart 2.0 in favour of the Airflow-native GitDagBundle. This adds a chart docs page mapping the old dags.gitSync values to their dagProcessor.dagBundleConfigList equivalents, with authentication patterns and a step-by-step migration. * Address reviewer feedback: remove inaccurate Git-Sync claim Veyu noted Git-Sync could checkout any commit via rev/ref params, so the statement that it always checked out the latest commit was not accurate. Removed that sentence per the preferred fix, keeping the GitDagBundle versioning note. * docs: address review feedback on Git-Sync to GitDagBundle migration guide - Fix spellcheck: favour -> favor (en_US) - Generalize Git-Sync sidecar description (persistence-setting dependent) - Prereq: latest Helm Chart 1.x release with Airflow 3 - credentialsSecret row lists both GITSYNC_* and GIT_SYNC_* key names - Clarify what kwargs.git_conn_id refers to - Note the Airflow Connection UI/CLI alternative to extraSecrets/extraEnv --------- (cherry picked from commit d3e29e1) Co-authored-by: Rakesh Pai <[email protected]> Co-authored-by: Przemysław Mirowski <[email protected]>
Adds a migration guide for Helm chart users moving from the Git-Sync sidecar (
dags.gitSync) to the Airflow-nativeGitDagBundle, as requested in #42918.The guide covers:
ReadWriteManyvolume needed.dags.gitSync.*key to itsdagProcessor.dagBundleConfigList[].kwargsequivalent (repo->repo_url,branch/ref/rev->tracking_ref,subPath->subdir,period->refresh_interval,credentialsSecret->git_conn_id, SSH secrets -> connection extras), with keys that have no equivalent explicitly marked.AIRFLOW_CONN_*fromextraSecrets), and SSH key pointers.dags.gitSync/dags.persistence,helm upgrade, verify), a multi-repo example, and the SHA-pinning restart caveat.Accuracy was checked against the provider source (
GitDagBundlekwargs, hook auth semantics) and the chart'svalues.yaml/_helpers.yamlonmain. Git-Sync removal is framed as planned for Chart 2.0, not already done.