Chart: add serviceAccountTokenVolume to cleanup cron#67446
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 Contributors' Guide
|
f63ae4c to
10c1247
Compare
jscheffl
left a comment
There was a problem hiding this comment.
I am not 100% sure if this is a niece case to mount account token in this way. Code-wise it is looking good but I am not 100% confident it should be added to main line---- or if we rather should take both scheduler as well as cleanup consistently out into a Kustomize layer.
Opinions from other maintainers?
If merged, probably needs a back-port to 1-2x-line?
Not sure either regarding how often it is used, but I agree with the docs which we have regarding that feature:
For now, I would add it to both. During discussions regarding 2.0, we agreed that we will keep some in the core chart and enhancing security will be possible via Kustomize, but as the Kustomize CI setup is in progress, I would, for now, go with the old way.
Not a maintainer, but these are my 2c 😄
Yup, I would add it there too, as it basically improves consistency within the chart, which we also discussed during 2.0. |
|
@Miretpl your 2ct are very welcome :-D |
|
Merging + back-porting with the aim to extract this in future into a Kustomize thing. |
|
Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions. |
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.
|
Chart support serviceAccountTokenVolume for cleanup job
When in an environment where policy dictate
automountServiceAccountToken: falsethe cleanup job require the same treatment as the scheduler, with a
serviceAccountTokenVolumeblock.Testing
Tested with
And
values.yaml:as well as default
values.yaml.Current workaround
Was generative AI tooling used to co-author this PR?