Description
Currently, to inject custom annotations into airflow pods, we can use such a snippet in the values.yaml:
airflowPodAnnotations:
my-annotation: "foo"
However, this will inject the annotation to the pods of all airflow components (scheduler.. worker.. etc.). There is no way to inject different annotations to different components.
It would be nice to be able to inject different annotations to different components with such a values.yaml:
workers:
podAnnotations:
my-annotation: "foo"
scheduler:
podAnnotations:
my-annotation: "bar"
Use case/motivation
Generally, it's not a bad idea to make things more customizable to the chart users.
Specifically for my use case, the motivation is because we are using vault sidecar to inject secrets into our airflow pods: https://www.vaultproject.io/docs/platform/k8s/injector#secrets-via-annotations
And we wish to have different vault connection settings for the different pods.
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
Description
Currently, to inject custom annotations into airflow pods, we can use such a snippet in the
values.yaml:However, this will inject the annotation to the pods of all airflow components (scheduler.. worker.. etc.). There is no way to inject different annotations to different components.
It would be nice to be able to inject different annotations to different components with such a
values.yaml:Use case/motivation
Generally, it's not a bad idea to make things more customizable to the chart users.
Specifically for my use case, the motivation is because we are using vault sidecar to inject secrets into our airflow pods: https://www.vaultproject.io/docs/platform/k8s/injector#secrets-via-annotations
And we wish to have different vault connection settings for the different pods.
Related issues
No response
Are you willing to submit a PR?
Code of Conduct