Skip to content

[aws-node-termination-handler] ports is defined twice in Helm template of DaemonSet #550

@alex-berger

Description

@alex-berger

Describe the bug

The Helm templates for aws-node-termination-handler will produce invalid DaemonSet(s) and Deployment spec with duplicate ports key if values enableProbesServer and enablePrometheusServer are both set to true.

Here some pointers to the critical lines:

Steps to reproduce

Set both values enableProbesServer and enablePrometheusServer to true.

Expected outcome

If both values enableProbesServer and enablePrometheusServer are set to true the Helm templates should produce valid DaemonSet resp. Deployment spec which exposes two ports:

Environment

  • Chart name: aws-node-termination-handler
  • Chart version: 0.15.1
  • Kubernetes version: 1.19.6
  • Using EKS (yes/no), if so version? yes 1.19

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions