XD-DENG opened a new pull request, #63019:
URL: https://github.com/apache/airflow/pull/63019

   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, e.g.:
   
   ```yaml
   extraConfigMaps:
     my-listener-config:
       data: |
         listener.py: ...
   
   scheduler:
     podAnnotations:
       checksum/extra-configmaps: '{{ include (print $.Template.BasePath 
"/configmaps/extra-configmaps.yaml") . | sha256sum }}'
   ```
   
   This follows the same `tpl (toYaml ...) .` pattern already used ~126 times 
in this chart for fields like `command`, `args`, `extraVolumes`, 
`extraContainers`, and `serviceAccount.annotations`.
   
   closes: #62698
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Claude Code
   
   Generated-by: Claude Code following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)


-- 
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]

Reply via email to