Skip to content

Option to override agent DaemonSet labels #2309

@fad3t

Description

@fad3t

Pre-submission Checklist

  • I have searched existing issues and this is not a duplicate
  • This is a Helm chart issue, not a Datadog product/service problem

Helm chart name

datadog

Helm chart version

3.140.0+

Bug Report

Hello,

Release 3.140.0 introduced a potentially breaking change by changing the labels assigned to the Datadog agent pods. The corresponding PR is #2111.

Existing network policies relying on the previous labels no longer work and need to be updated before the Datadog agent can be upgraded.

It would be great to have something in the values file that allows to overwrite the default labels. Using agents.additionalLabels doesn't help, it duplicates labels if they already exist.
I can prepare a PR for this if needed, but first I'd like to know if this would be an acceptable move.

Thanks.

Steps to Reproduce

No response

Environment

Kubernetes version: 1.34
Helm version: 3.x

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpending

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions