Skip to content

Feature Request: Support podLabels in aws-node-termination-handler Helm chart #1155

Open
@jitendrabhalothia

Description

@jitendrabhalothia

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions