Skip to content

Commit

Permalink
Mount system-probe.yaml in the process-agent container when enabled (h…
Browse files Browse the repository at this point in the history
…elm#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 <[email protected]>

* rev version

Signed-off-by: Lee Avital <[email protected]>
  • Loading branch information
leeavital authored and includerandom committed Jul 19, 2020
1 parent b446e1c commit 0dfdd32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/datadog/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: datadog
version: 2.3.19
version: 2.3.20
appVersion: "7"
description: Datadog Agent
keywords:
Expand Down
3 changes: 3 additions & 0 deletions stable/datadog/templates/container-process-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -}}

0 comments on commit 0dfdd32

Please sign in to comment.