Skip to content

Commit

Permalink
fix mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
fanny-jiang committed Oct 25, 2024
1 parent a3c7d95 commit 09bd158
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/helm-operator-mapper/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func main() {
return
}

if mappingFile != defaultDDAMappingPath {
if sourceFile != defaultDDAMappingPath {
newMapYaml = `# This file maps keys from the Datadog Helm chart (YAML) to the DatadogAgent CustomResource spec (YAML).
` + newMapYaml
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# This file maps keys from the Datadog Helm chart (YAML) to the DatadogAgent CustomResource spec (YAML).
agents.additionalLabels: spec.override.nodeAgent.labels
agents.affinity: spec.override.nodeAgent.affinity
agents.containers.agent.env: spec.override.nodeAgent.containers.agent.env
Expand Down Expand Up @@ -393,6 +394,7 @@ datadog.orchestratorExplorer.customResources: spec.features.orchestratorExplorer
datadog.orchestratorExplorer.enabled: spec.features.orchestratorExplorer.enabled
datadog.originDetectionUnified.enabled: spec.global.originDetectionUnified.enabled
datadog.osReleasePath: ""
datadog.otelCollector.config: ""
datadog.otelCollector.enabled: ""
datadog.otelCollector.ports: ""
datadog.otlp.logs.enabled: ""
Expand Down Expand Up @@ -500,4 +502,3 @@ providers.gke.cos: ""
registry: spec.global.registry
remoteConfiguration.enabled: spec.features.remoteConfiguration.enabled
targetSystem: ""
testKey.enabled: ""

0 comments on commit 09bd158

Please sign in to comment.