Chart: Support Helm template expressions in podAnnotations#63019
Merged
jscheffl merged 5 commits intoapache:mainfrom Mar 9, 2026
Merged
Chart: Support Helm template expressions in podAnnotations#63019jscheffl merged 5 commits intoapache:mainfrom
jscheffl merged 5 commits intoapache:mainfrom
Conversation
2 tasks
jscheffl
approved these changes
Mar 7, 2026
Contributor
jscheffl
left a comment
There was a problem hiding this comment.
Looks like a reasonable feature to me and tests are green. Good from my side.
Miretpl
suggested changes
Mar 7, 2026
Contributor
Miretpl
left a comment
There was a problem hiding this comment.
Small nits to the doc as I refactored it couple days ago (also we could change the name of the customizing-labels file if we are adding there section about annotations).
Enable tpl evaluation for `podAnnotations` and `airflowPodAnnotations`
across all chart templates, allowing users to use Helm template
expressions such as `{{ .Release.Name }}` or
`{{ include ... | sha256sum }}` in annotation values.
This is useful for adding checksum annotations that trigger pod restarts
when dependent ConfigMaps or Secrets change.
closes: apache#62698
…erver/webserver wording
74fa0e4 to
075fed6
Compare
Member
Author
|
Rebased the branch. |
Miretpl
approved these changes
Mar 9, 2026
Contributor
|
CI error is unrelated, is broken on main as well :-( Merging therefore... |
Member
Author
|
Thanks @jscheffl |
jason810496
pushed a commit
to jason810496/airflow
that referenced
this pull request
Mar 10, 2026
) * Support Helm template expressions in podAnnotations Enable tpl evaluation for `podAnnotations` and `airflowPodAnnotations` across all chart templates, allowing users to use Helm template expressions such as `{{ .Release.Name }}` or `{{ include ... | sha256sum }}` in annotation values. This is useful for adding checksum annotations that trigger pod restarts when dependent ConfigMaps or Secrets change. closes: apache#62698 * Rename chart newsfragment to PR number 63019 * Fix doc nits in customizing-labels: trim underlines and clarify api-server/webserver wording * Address doc structure: add Customizing Pod Labels subsection under umbrella heading
thejoeejoee
pushed a commit
to thejoeejoee/airflow
that referenced
this pull request
Mar 10, 2026
) * Support Helm template expressions in podAnnotations Enable tpl evaluation for `podAnnotations` and `airflowPodAnnotations` across all chart templates, allowing users to use Helm template expressions such as `{{ .Release.Name }}` or `{{ include ... | sha256sum }}` in annotation values. This is useful for adding checksum annotations that trigger pod restarts when dependent ConfigMaps or Secrets change. closes: apache#62698 * Rename chart newsfragment to PR number 63019 * Fix doc nits in customizing-labels: trim underlines and clarify api-server/webserver wording * Address doc structure: add Customizing Pod Labels subsection under umbrella heading
dominikhei
pushed a commit
to dominikhei/airflow
that referenced
this pull request
Mar 11, 2026
) * Support Helm template expressions in podAnnotations Enable tpl evaluation for `podAnnotations` and `airflowPodAnnotations` across all chart templates, allowing users to use Helm template expressions such as `{{ .Release.Name }}` or `{{ include ... | sha256sum }}` in annotation values. This is useful for adding checksum annotations that trigger pod restarts when dependent ConfigMaps or Secrets change. closes: apache#62698 * Rename chart newsfragment to PR number 63019 * Fix doc nits in customizing-labels: trim underlines and clarify api-server/webserver wording * Address doc structure: add Customizing Pod Labels subsection under umbrella heading
Pyasma
pushed a commit
to Pyasma/airflow
that referenced
this pull request
Mar 13, 2026
) * Support Helm template expressions in podAnnotations Enable tpl evaluation for `podAnnotations` and `airflowPodAnnotations` across all chart templates, allowing users to use Helm template expressions such as `{{ .Release.Name }}` or `{{ include ... | sha256sum }}` in annotation values. This is useful for adding checksum annotations that trigger pod restarts when dependent ConfigMaps or Secrets change. closes: apache#62698 * Rename chart newsfragment to PR number 63019 * Fix doc nits in customizing-labels: trim underlines and clarify api-server/webserver wording * Address doc structure: add Customizing Pod Labels subsection under umbrella heading
33 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enable
tplevaluation forpodAnnotationsandairflowPodAnnotationsacross all chart templates, allowing users to use Helm template expressions such as{{ .Release.Name }}or{{ include ... | sha256sum }}in annotation values.This is useful for adding checksum annotations that trigger pod restarts when dependent ConfigMaps or Secrets change, e.g.:
This follows the same
tpl (toYaml ...) .pattern already used ~126 times in this chart for fields likecommand,args,extraVolumes,extraContainers, andserviceAccount.annotations.closes: #62698
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code following the guidelines