Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions charts/datadog/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Datadog changelog

## 3.239.1

* Expose `datadog.apm.instrumentation.onDemand` (default `true`) and set `DD_APM_INSTRUMENTATION_ON_DEMAND` on the Cluster Agent.
* Enable Cluster Agent Remote Configuration when the admission controller is enabled and on-demand SSI is on, so `APM_POLICIES` Remote Config rules work without `clusterAgent.admissionController.remoteInstrumentation.enabled`.

## 3.239.0

* Add `operator.untaintController.enabled` (default `false`). When enabled, the node Agent DaemonSet tolerates the `agent.datadoghq.com/not-ready=presence:NoSchedule` startup taint and the Datadog Operator untaint controller is enabled to remove that taint once the Agent is ready. Requires Operator v1.28.0+. See [documentation](https://github.com/DataDog/datadog-operator/blob/main/docs/untaint_controller.md) for more details.
Expand Down
2 changes: 1 addition & 1 deletion charts/datadog/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
apiVersion: v1
name: datadog
version: 3.239.0
version: 3.239.1
appVersion: "7"
description: Datadog Agent
keywords:
Expand Down
3 changes: 2 additions & 1 deletion charts/datadog/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Datadog

![Version: 3.239.0](https://img.shields.io/badge/Version-3.239.0-informational?style=flat-square) ![AppVersion: 7](https://img.shields.io/badge/AppVersion-7-informational?style=flat-square)
![Version: 3.239.1](https://img.shields.io/badge/Version-3.239.1-informational?style=flat-square) ![AppVersion: 7](https://img.shields.io/badge/AppVersion-7-informational?style=flat-square)

> [!WARNING]
> The Datadog Operator is now enabled by default since version [3.157.0](https://github.com/DataDog/helm-charts/blob/main/charts/datadog/CHANGELOG.md#31570) to collect chart metadata for display in [Fleet Automation](https://docs.datadoghq.com/agent/fleet_automation/). We are aware of issues affecting some environments and are actively working on fixes. We apologize for the inconvenience and appreciate your patience while we address these issues.
Expand Down Expand Up @@ -765,6 +765,7 @@ helm install <RELEASE_NAME> \
| datadog.apm.instrumentation.injector.imageTag | string | `""` | The image tag to use for the APM Injector (preview). |
| datadog.apm.instrumentation.language_detection.enabled | bool | `true` | Run language detection to automatically detect languages of user workloads (preview). |
| datadog.apm.instrumentation.libVersions | object | `{}` | Inject specific version of tracing libraries with Single Step Instrumentation. |
| datadog.apm.instrumentation.onDemand | bool | `true` | Keep the SSI admission webhook available for runtime workload selection (annotations and Remote Config APM_POLICIES). Matches the agent default (true). |
| datadog.apm.instrumentation.skipKPITelemetry | bool | `false` | Disable generating Configmap for APM Instrumentation KPIs |
| datadog.apm.instrumentation.targets | list | `[]` | Enable target based workload selection. Requires Cluster Agent 7.64.0+. ddTraceConfigs[]valueFrom Requires Cluster Agent 7.66.0+. |
| datadog.apm.port | int | `8126` | Override the trace Agent port |
Expand Down
2 changes: 1 addition & 1 deletion charts/datadog/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -1473,7 +1473,7 @@ false
Returns whether Remote Configuration should be enabled in the cluster agent
*/}}
{{- define "clusterAgent-remoteConfiguration-enabled" -}}
{{- if and .Values.remoteConfiguration.enabled (or .Values.clusterAgent.admissionController.remoteInstrumentation.enabled .Values.clusterAgent.privateActionRunner.enabled (((.Values.datadog.autoscaling).workload).enabled) .Values.datadog.kubernetesActions.enabled) (not .Values.providers.gke.gdc ) -}}
{{- if and .Values.remoteConfiguration.enabled (or .Values.clusterAgent.admissionController.remoteInstrumentation.enabled (and .Values.clusterAgent.admissionController.enabled .Values.datadog.apm.instrumentation.onDemand) .Values.clusterAgent.privateActionRunner.enabled (((.Values.datadog.autoscaling).workload).enabled) .Values.datadog.kubernetesActions.enabled) (not .Values.providers.gke.gdc ) -}}
true
{{- else -}}
false
Expand Down
2 changes: 2 additions & 0 deletions charts/datadog/templates/cluster-agent-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,8 @@ spec:
- name: DD_APM_INSTRUMENTATION_ENABLED
value: {{ .Values.datadog.apm.instrumentation.enabled | quote }}
{{- end }}
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: {{ .Values.datadog.apm.instrumentation.onDemand | quote }}
{{- if .Values.datadog.apm.instrumentation.enabledNamespaces }}
- name: DD_APM_INSTRUMENTATION_ENABLED_NAMESPACES
value: {{ .Values.datadog.apm.instrumentation.enabledNamespaces | toJson | quote }}
Expand Down
3 changes: 3 additions & 0 deletions charts/datadog/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
"enabled": {
"type": "boolean"
},
"onDemand": {
"type": "boolean"
},
"enabledNamespaces": {
"$ref": "#/$defs/stringArray"
},
Expand Down
4 changes: 4 additions & 0 deletions charts/datadog/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,10 @@ datadog:
# datadog.apm.instrumentation.enabled -- Enable injecting the Datadog APM libraries into all pods in the cluster.
enabled: false

# datadog.apm.instrumentation.onDemand -- Keep the SSI admission webhook available for runtime workload
# selection (annotations and Remote Config APM_POLICIES). Matches the agent default (true).
onDemand: true

# datadog.apm.instrumentation.enabledNamespaces -- Enable injecting the Datadog APM libraries into pods in specific namespaces.
enabledNamespaces: []

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2360,7 +2360,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: registry.datadoghq.com
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2360,7 +2360,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: registry.datadoghq.com
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2960,7 +2960,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: registry.datadoghq.com
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2734,7 +2734,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: registry.datadoghq.com
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2046,7 +2046,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: registry.datadoghq.com
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2060,7 +2060,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_AGENT_SIDECAR_PROFILES
value: '[{"env":[{"name":"DD_ORCHESTRATOR_EXPLORER_ENABLED","value":"false"},{"name":"DD_TAGS","value":"key1:value1 key2:value2"}],"resources":{"limits":{"cpu":"2","memory":"1024Mi"},"requests":{"cpu":"1","memory":"512Mi"}}}]'
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2056,7 +2056,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_AGENT_SIDECAR_IMAGE_TAG
value: 7.81.1
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2048,7 +2048,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: registry.datadoghq.com
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2750,7 +2750,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: registry.datadoghq.com
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2870,7 +2870,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: registry.datadoghq.com
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2733,7 +2733,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: registry.datadoghq.com
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
4 changes: 3 additions & 1 deletion test/datadog/baseline/manifests/confd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3002,7 +3002,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: registry.datadoghq.com
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
4 changes: 3 additions & 1 deletion test/datadog/baseline/manifests/daemonset_default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2726,7 +2726,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: registry.datadoghq.com
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
4 changes: 3 additions & 1 deletion test/datadog/baseline/manifests/default_all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2726,7 +2726,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: registry.datadoghq.com
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
4 changes: 3 additions & 1 deletion test/datadog/baseline/manifests/default_all_windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1367,7 +1367,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: registry.datadoghq.com
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2083,6 +2083,8 @@ spec:
value: gcr.io/datadoghq
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
2 changes: 2 additions & 0 deletions test/datadog/baseline/manifests/gdc_daemonset_default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2083,6 +2083,8 @@ spec:
value: gcr.io/datadoghq
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2100,6 +2100,8 @@ spec:
value: gcr.io/datadoghq
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2377,7 +2377,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: gcr.io/datadoghq
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2124,7 +2124,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: gcr.io/datadoghq
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2597,7 +2597,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: gcr.io/datadoghq
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
4 changes: 3 additions & 1 deletion test/datadog/baseline/manifests/gke_autopilot_npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2714,7 +2714,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: gcr.io/datadoghq
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2714,7 +2714,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: gcr.io/datadoghq
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
4 changes: 3 additions & 1 deletion test/datadog/baseline/manifests/gke_autopilot_usm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2590,7 +2590,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: gcr.io/datadoghq
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2968,7 +2968,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: gcr.io/datadoghq
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2978,7 +2978,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: gcr.io/datadoghq
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2846,7 +2846,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: gcr.io/datadoghq
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2870,7 +2870,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: gcr.io/datadoghq
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3032,7 +3032,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: gcr.io/datadoghq
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
4 changes: 3 additions & 1 deletion test/datadog/baseline/manifests/gpu_monitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2777,7 +2777,9 @@ spec:
- name: DD_ADMISSION_CONTROLLER_CONTAINER_REGISTRY
value: registry.datadoghq.com
- name: DD_REMOTE_CONFIGURATION_ENABLED
value: "false"
value: "true"
- name: DD_APM_INSTRUMENTATION_ON_DEMAND
value: "true"
- name: DD_CLUSTER_CHECKS_ENABLED
value: "true"
- name: DD_EXTRA_CONFIG_PROVIDERS
Expand Down
Loading
Loading