Skip to content
Merged
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
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.8

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

## 3.231.7

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.7
version: 3.231.8
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.7](https://img.shields.io/badge/Version-3.231.7-informational?style=flat-square) ![AppVersion: 7](https://img.shields.io/badge/AppVersion-7-informational?style=flat-square)
![Version: 3.231.8](https://img.shields.io/badge/Version-3.231.8-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
5 changes: 5 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,11 @@
mountPath: {{ template "datadog.confPath" . }}/auth
readOnly: true
{{- end }}
{{- if not (or .Values.providers.gke.autopilot .Values.providers.gke.gdc) }}
- name: {{ include "datadog.agentRunVolumeName" . }}
mountPath: /opt/datadog-agent/run
readOnly: false
{{- end }}
- name: tmpdir
mountPath: /tmp
readOnly: false # Need RW for tmp directory
Expand Down
5 changes: 5 additions & 0 deletions charts/datadog/templates/_container-otel-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@
mountPath: {{ template "datadog.otelconfPath" . }}
readOnly: true
{{- if eq .Values.targetSystem "linux" }}
{{- if not (or .Values.providers.gke.autopilot .Values.providers.gke.gdc) }}
- 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.

{{- end }}
{{- if not .Values.providers.gke.autopilot }}
- name: procdir
mountPath: /host/proc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2487,6 +2487,9 @@ spec:
- mountPath: /etc/otel-agent
name: otelconfig
readOnly: true
- mountPath: /opt/datadog-agent/run
name: datadogrun
readOnly: false
- mountPath: /host/proc
mountPropagation: None
name: procdir
Expand Down
3 changes: 3 additions & 0 deletions test/datadog/baseline/manifests/otel-agent_configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2406,6 +2406,9 @@ spec:
- mountPath: /etc/otel-agent
name: otelconfig
readOnly: true
- mountPath: /opt/datadog-agent/run
name: datadogrun
readOnly: false
- mountPath: /host/proc
mountPropagation: None
name: procdir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2481,6 +2481,9 @@ spec:
- mountPath: /etc/otel-agent
name: otelconfig
readOnly: true
- mountPath: /opt/datadog-agent/run
name: datadogrun
readOnly: false
- mountPath: /host/proc
mountPropagation: None
name: procdir
Expand Down
3 changes: 3 additions & 0 deletions test/datadog/baseline/manifests/otel-agent_full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1942,6 +1942,9 @@ spec:
- mountPath: /etc/otel-agent
name: otelconfig
readOnly: true
- mountPath: /opt/datadog-agent/run
name: datadogrun
readOnly: false
- mountPath: /host/proc
mountPropagation: None
name: procdir
Expand Down
3 changes: 3 additions & 0 deletions test/datadog/baseline/manifests/otel-agent_full_fips.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1942,6 +1942,9 @@ spec:
- mountPath: /etc/otel-agent
name: otelconfig
readOnly: true
- mountPath: /opt/datadog-agent/run
name: datadogrun
readOnly: false
- mountPath: /host/proc
mountPropagation: None
name: procdir
Expand Down
3 changes: 3 additions & 0 deletions test/datadog/baseline/manifests/otel-agent_gateway.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1999,6 +1999,9 @@ spec:
- mountPath: /etc/otel-agent
name: otelconfig
readOnly: true
- mountPath: /opt/datadog-agent/run
name: datadogrun
readOnly: false
- mountPath: /host/proc
mountPropagation: None
name: procdir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1999,6 +1999,9 @@ spec:
- mountPath: /etc/otel-agent
name: otelconfig
readOnly: true
- mountPath: /opt/datadog-agent/run
name: datadogrun
readOnly: false
- mountPath: /host/proc
mountPropagation: None
name: procdir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2429,6 +2429,9 @@ spec:
- mountPath: /etc/otel-agent
name: otelconfig
readOnly: true
- mountPath: /opt/datadog-agent/run
name: datadogrun
readOnly: false
- mountPath: /host/proc
mountPropagation: None
name: procdir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2477,6 +2477,9 @@ spec:
- mountPath: /etc/otel-agent
name: otelconfig
readOnly: true
- mountPath: /opt/datadog-agent/run
name: datadogrun
readOnly: false
- mountPath: /host/proc
mountPropagation: None
name: procdir
Expand Down
3 changes: 3 additions & 0 deletions test/datadog/baseline/manifests/otel_enabled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2477,6 +2477,9 @@ spec:
- mountPath: /etc/otel-agent
name: otelconfig
readOnly: true
- mountPath: /opt/datadog-agent/run
name: datadogrun
readOnly: false
- mountPath: /host/proc
mountPropagation: None
name: procdir
Expand Down
Loading