Skip to content

Commit

Permalink
[mq] working branch - merge f20e1df on top of main at ddeeb54
Browse files Browse the repository at this point in the history
{"baseBranch":"main","baseCommit":"ddeeb5431fcd0e6c3cf015f368e25791859d584f","createdAt":"2025-01-10T14:23:19.823316Z","headSha":"f20e1dfc80f505bfc7aa84d05a1f65ad9f49c17b","id":"111e132e-3bf3-4c20-a6f8-ac8c3c92df04","priority":"200","pullRequestNumber":"1320","queuedAt":"2025-01-10T14:23:19.822356Z","status":"STATUS_QUEUED"}
  • Loading branch information
dd-mergequeue[bot] authored Jan 10, 2025
2 parents 3fc67f1 + f20e1df commit 0b77445
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions components/datadog/agent/kubernetes_helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,38 @@ func buildLinuxHelmValues(baseName, agentImagePath, agentImageTag, clusterAgentI
},
"labels_as_tags": map[string]interface{}{},
"annotations_as_tags": map[string]interface{}{},
"custom_resource": map[string]interface{}{
"spec": map[string]interface{}{
"resources": []map[string]interface{}{
{
"groupVersionKind": map[string]interface{}{
"group": "datadoghq.com",
"kind": "DatadogMetric",
"version": "v1alpha1",
},
"commonLabels": map[string]interface{}{
"cr_type": "ddm",
},
"labelsFromPath": map[string]interface{}{
"ddm_namespace": []string{"metadata", "namespace"},
"ddm_name": []string{"metadata", "name"},
},
"metrics": []map[string]interface{}{
{
"name": "ddm_value",
"help": "DatadogMetric value",
"each": map[string]interface{}{
"type": "gauge",
"gauge": map[string]interface{}{
"path": []string{"status", "currentValue"},
},
},
},
},
},
},
},
},
},
},
})),
Expand Down

0 comments on commit 0b77445

Please sign in to comment.