From 08453f982745f888ff27ff5d06ef972f7cbc768d Mon Sep 17 00:00:00 2001 From: Lee Avital Date: Wed, 1 Jul 2020 20:36:01 -0400 Subject: [PATCH] Mount system-probe.yaml in the process-agent container when enabled (#23035) * Mount system-probe.yaml in the process-agent container when enabled https://github.com/helm/charts/pull/22686/files changed the location of the system-probe socket away from the default. Since the process-agent was relying on the socket being at the default location by dint of not having the system-probe.yaml file, this commit broke the process-agent -> system-probe communication. Signed-off-by: Lee Avital * rev version Signed-off-by: Lee Avital --- stable/datadog/Chart.yaml | 2 +- stable/datadog/templates/container-process-agent.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/stable/datadog/Chart.yaml b/stable/datadog/Chart.yaml index fadc7bb8b1..2902035c41 100644 --- a/stable/datadog/Chart.yaml +++ b/stable/datadog/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: datadog -version: 2.3.19 +version: 2.3.20 appVersion: "7" description: Datadog Agent keywords: diff --git a/stable/datadog/templates/container-process-agent.yaml b/stable/datadog/templates/container-process-agent.yaml index 62edabbe1a..1ec24e7f20 100644 --- a/stable/datadog/templates/container-process-agent.yaml +++ b/stable/datadog/templates/container-process-agent.yaml @@ -56,6 +56,9 @@ - name: sysprobe-socket-dir mountPath: /var/run/sysprobe readOnly: true + - name: sysprobe-config + mountPath: /etc/datadog-agent/system-probe.yaml + subPath: system-probe.yaml {{- end }} {{- end }} {{- end -}}