From a3da897880b9807a2c2d75ce8157a3f78f23a6c7 Mon Sep 17 00:00:00 2001 From: Fanny Jiang Date: Fri, 25 Oct 2024 15:36:16 -0400 Subject: [PATCH] fix mapping --- tools/helm-operator-mapper/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/helm-operator-mapper/main.go b/tools/helm-operator-mapper/main.go index bc52cfb59..ced5992e9 100644 --- a/tools/helm-operator-mapper/main.go +++ b/tools/helm-operator-mapper/main.go @@ -125,7 +125,7 @@ func main() { return } - if sourceFile != defaultDDAMappingPath { + if sourceFile == defaultDDAMappingPath || tmpSourceFile != "" { newMapYaml = `# This file maps keys from the Datadog Helm chart (YAML) to the DatadogAgent CustomResource spec (YAML). ` + newMapYaml }