mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/datadog] Correct handling of processAgent.processCollection setting (#21525)
* Correct handling of processAgent.processCollection setting This addresses the issue when process agent would terminate if `processAgent.processCollection` was set to `false`. Setting `DD_PROCESS_AGENT_ENABLED` to `false` results in termination of process agent. To disable process collection we need to leave this env var as not set on this container. Signed-off-by: Ivan Ilichev <ivan.ilichev@datadoghq.com> * Bump chart version Signed-off-by: Ivan Ilichev <ivan.ilichev@datadoghq.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: datadog
|
||||
version: 2.0.11
|
||||
version: 2.0.12
|
||||
appVersion: "7"
|
||||
description: Datadog Agent
|
||||
keywords:
|
||||
|
||||
@@ -7,11 +7,9 @@
|
||||
{{ toYaml .Values.agents.containers.processAgent.resources | indent 4 }}
|
||||
env:
|
||||
{{- include "containers-common-env" . | nindent 4 }}
|
||||
{{- if .Values.datadog.processAgent.processCollection }}
|
||||
- name: DD_PROCESS_AGENT_ENABLED
|
||||
{{- if .Values.datadog.processAgent.enabled }}
|
||||
value: {{ .Values.datadog.processAgent.processCollection | quote }}
|
||||
{{- else }}
|
||||
value: "disabled"
|
||||
value: "true"
|
||||
{{- end }}
|
||||
- name: DD_LOG_LEVEL
|
||||
value: {{ .Values.agents.containers.processAgent.logLevel | default .Values.datadog.logLevel | quote }}
|
||||
|
||||
Reference in New Issue
Block a user