From 630ecd4f81f81cfc98ab3bd72155334577a9051d Mon Sep 17 00:00:00 2001 From: "Brett C. Dudo" Date: Mon, 22 Jun 2026 13:35:26 -0700 Subject: [PATCH] fix: use unique otelconfPath on Windows to avoid duplicate volumeMount The datadog.otelconfPath template resolves to C:/ProgramData/Datadog on Windows, identical to datadog.confPath. This causes the otel-agent container to have two volumeMounts at the same mountPath, which Kubernetes rejects: mountPath must be unique. Uses C:/ProgramData/Datadog/otel-agent instead, matching the Linux pattern where confPath (/etc/datadog-agent) and otelconfPath (/etc/otel-agent) are distinct directories. --- charts/datadog/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/datadog/templates/_helpers.tpl b/charts/datadog/templates/_helpers.tpl index ccd39d55c3..57d94bfc23 100644 --- a/charts/datadog/templates/_helpers.tpl +++ b/charts/datadog/templates/_helpers.tpl @@ -474,7 +474,7 @@ Return agent config path /etc/otel-agent {{- end -}} {{- if eq .Values.targetSystem "windows" -}} -C:/ProgramData/Datadog +C:/ProgramData/Datadog/otel-agent {{- end -}} {{- end -}}