deepnemesis commented on issue #74270: URL: https://github.com/apache/airflow/issues/74270#issuecomment-7251776767
> As this touches GitSync, which will be removed in Helm Chart 2.0, I would say that we should focus more on the migration guide to GitDagBundle (current version https://github.com/apache/airflow/blob/main/chart/docs/migrate-to-git-dag-bundle.rst). Thanks @Miretpl — agreed on the direction, a couple of points on scope: - The migration guide is already in: `chart/docs/migrate-to-git-dag-bundle.rst` (#73082). git-sync removal is still open in #64037, so 1.2x users keep git-sync for now. - #74271 adds no git-sync behaviour. It only aligns its default security context with the rest of the chart: every other container already gets `allowPrivilegeEscalation: false` and `drop: [ALL]` from `containerSecurityContext`, while git-sync is the only one going through `localContainerSecurityContext`, which sets just `runAsUser`. It is also the "tighten chart defaults to a least-privilege baseline" item in #64037. - It is not breaking: explicit `dags.gitSync.securityContexts.container` stays authoritative and `securityContexts.disableDefaults: true` still omits everything — unlike the branch/ref split in #42918, which is why I understand that one was declined for 1.2x. One thing I'd like your call on: should this go to `chart/v1-2x-stable` (1.21.x) instead of `main`, since `main` is already `2.0.0-dev`? Happy to retarget it, or close #74271 and add a short "if you stay on git-sync in 1.2x, set this securityContext" note to the migration guide instead — whichever you prefer. -- 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]
