Description
Hi Team,
First, thank you for maintaining this chart!
I would like to request support for customizing podLabels for the Pods created by the aws-node-termination-handler chart.
Why this is needed:
It helps apply governance, compliance, or cost-tracking labels easily.
It follows the same pattern that many other charts (Bitnami, Kyverno, etc.) use.
Proposed Implementation:
In the Pod template (deployment.yaml), under metadata.labels, inject .Values.podLabels if it is defined.
Example Helm code snippet:
labels:
{{- include "aws-node-termination-handler.labels" . | nindent 4 }}
{{- with .Values.podLabels }}
{{- toYaml . | nindent 4 }}
{{- end }}
Impact:
Fully backward-compatible. If podLabels is not set, nothing changes.
Lightweight addition.
Thank you again for your great work!