From 514445b2c44205c56fe18de088f48a423f0e1c5c Mon Sep 17 00:00:00 2001 From: mrmcpat Date: Wed, 9 Oct 2024 14:28:25 -0400 Subject: [PATCH] fix a small issue with the logic in the should-enable-trace-agent logic --- 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 25652ce26..b118cc079 100644 --- a/charts/datadog/templates/_helpers.tpl +++ b/charts/datadog/templates/_helpers.tpl @@ -466,7 +466,7 @@ false Return true if a trace-agent needs to be deployed. */}} {{- define "should-enable-trace-agent" -}} -{{- if or (eq (include "trace-agent-use-tcp-port" .) "true") (eq (include "trace-agent-use-uds" .) "true") (eq (include "trace-agent-use-local-service")) -}} +{{- if or (eq (include "trace-agent-use-tcp-port" .) "true") (eq (include "trace-agent-use-uds" .) "true") (eq (include "trace-agent-use-local-service" .) "true") -}} true {{- else -}} false