Pre-submission Checklist
Helm chart name
datadog
Helm chart version
3.201.7
Bug Report
What happened:
All other ConfigMap name helpers in _helpers.tpl (e.g., agents-useConfigMap-configmap-name, agents.confd-configmap-name, datadog-checksd-configmap-name, etc.) delegate to datadog.fullname, which correctly handles fullnameOverride and nameOverride values.
However, datadog.endpointConfigName constructs its name by concatenating .Release.Name (and chart alias for aliased subchart) directly, bypassing datadog.fullname entirely.
This means that if a user sets fullnameOverride or nameOverride, all other ConfigMaps will use the overridden name prefix, but the endpoint ConfigMap will still use the raw release name, causing an inconsistency.
This behavior was introduced in #2362 (tagging @fanny-jiang for visibility). A similar suggestion was previously made in #2187.
What I expected:
datadog.endpointConfigName should derive its prefix from datadog.fullname (or equivalent logic), consistent with all other ConfigMap name helpers.
Steps to Reproduce
No response
Environment
Kubernetes version:
Helm version:
Cloud provider:
Additional Context
No response
Pre-submission Checklist
Helm chart name
datadog
Helm chart version
3.201.7
Bug Report
What happened:
All other ConfigMap name helpers in _helpers.tpl (e.g.,
agents-useConfigMap-configmap-name,agents.confd-configmap-name,datadog-checksd-configmap-name, etc.) delegate todatadog.fullname, which correctly handlesfullnameOverrideandnameOverridevalues.However,
datadog.endpointConfigNameconstructs its name by concatenating.Release.Name(and chart alias for aliased subchart) directly, bypassingdatadog.fullnameentirely.This means that if a user sets
fullnameOverrideornameOverride, all other ConfigMaps will use the overridden name prefix, but the endpoint ConfigMap will still use the raw release name, causing an inconsistency.This behavior was introduced in #2362 (tagging @fanny-jiang for visibility). A similar suggestion was previously made in #2187.
What I expected:
datadog.endpointConfigNameshould derive its prefix from datadog.fullname (or equivalent logic), consistent with all other ConfigMap name helpers.Steps to Reproduce
No response
Environment
Kubernetes version:
Helm version:
Cloud provider:
Additional Context
No response