Skip to content
Merged
3 changes: 3 additions & 0 deletions charts/datadog/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Datadog changelog
## 3.231.6

* Mount run socket for host profiler/ ddot ([#2802](https://github.com/DataDog/helm-charts/pull/2802)).

## 3.231.5

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.231.5
version: 3.231.6
appVersion: "7"
description: Datadog Agent
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/datadog/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Datadog

![Version: 3.231.5](https://img.shields.io/badge/Version-3.231.5-informational?style=flat-square) ![AppVersion: 7](https://img.shields.io/badge/AppVersion-7-informational?style=flat-square)
![Version: 3.231.6](https://img.shields.io/badge/Version-3.231.6-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
3 changes: 3 additions & 0 deletions charts/datadog/templates/_container-host-profiler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
mountPath: {{ template "datadog.confPath" . }}/auth
readOnly: true
{{- end }}
- name: {{ include "datadog.agentRunVolumeName" . }}
mountPath: /opt/datadog-agent/run
readOnly: false
- name: tmpdir
mountPath: /tmp
readOnly: false # Need RW for tmp directory
Expand Down
9 changes: 9 additions & 0 deletions charts/datadog/templates/_container-otel-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@
mountPath: {{ template "datadog.otelconfPath" . }}
readOnly: true
{{- if eq .Values.targetSystem "linux" }}
- name: {{ include "datadog.agentRunVolumeName" . }}
mountPath: /opt/datadog-agent/run
readOnly: false
Comment on lines +110 to +112

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Gate the run mount for Windows otel-agent pods

When targetSystem=windows and datadog.otelCollector.enabled=true with log collection left at its default disabled state, this helper expands to datadogrun, but daemonset-volumes-windows never defines a datadogrun volume; it only creates pointerdir when logs are enabled. The rendered DaemonSet therefore contains an otel-agent volumeMount with no matching volume and Kubernetes will reject the pod, so this mount needs a Windows-specific volume/path or should be limited to Linux.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{{- if not .Values.providers.gke.autopilot }}
- name: procdir
mountPath: /host/proc
Expand Down Expand Up @@ -136,6 +139,12 @@
readOnly: true
{{- end }}
{{- end }}
{{- else if eq .Values.targetSystem "windows" }}
{{- if or .Values.datadog.logs.enabled .Values.datadog.logsEnabled }}
- name: {{ include "datadog.agentRunVolumeName" . }}
mountPath: c:/programdata/datadog/run
readOnly: false
{{- end }}
{{- end }}
{{- include "container-crisocket-volumemounts" . | nindent 4 }}
{{- include "container-cloudinit-volumemounts" . | nindent 4 }}
Expand Down
Loading