add DD_HOSTNAME, DD_AC_INCLUDE, DD_AC_EXCLUDE to DaemonSet config (#10211)

Signed-off-by: Laurent Fallet <laurent.fallet@gmail.com>
This commit is contained in:
LFA
2019-01-08 07:44:09 -08:00
committed by Kubernetes Prow Robot
parent 172708d11b
commit 692daad649
3 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: datadog
version: 1.15.1
version: 1.16.0
appVersion: 6.6.0
description: DataDog Agent
keywords:
+3
View File
@@ -93,6 +93,9 @@ The following table lists the configurable parameters of the Datadog chart and t
| `datadog.resources.limits.memory` | Memory resource limits | `256Mi` |
| `datadog.securityContext` | Allows you to overwrite the default securityContext applied to the container | `nil` |
| `datadog.livenessProbe` | Overrides the default liveness probe | exec /probe.sh |
| `datadog.hostname` | Set the hostname (write it in datadog.conf) | `nil` |
| `datadog.acInclude` | Include containers based on image name | `nil` |
| `datadog.acExclude` | Exclude containers based on image name | `nil` |
| `daemonset.podAnnotations` | Annotations to add to the DaemonSet's Pods | `nil` |
| `daemonset.tolerations` | List of node taints to tolerate (requires Kubernetes >= 1.6) | `nil` |
| `daemonset.nodeSelector` | Node selectors | `nil` |
+12
View File
@@ -96,6 +96,18 @@ spec:
- name: DD_PROCESS_AGENT_ENABLED
value: {{ .Values.datadog.processAgentEnabled | quote }}
{{- end }}
{{- if .Values.datadog.hostname }}
- name: DD_HOSTNAME
value: {{ .Values.datadog.hostname | quote }}
{{- end }}
{{- if .Values.datadog.acInclude }}
- name: DD_AC_INCLUDE
value: {{ .Values.datadog.acInclude | quote }}
{{- end }}
{{- if .Values.datadog.acExclude }}
- name: DD_AC_EXCLUDE
value: {{ .Values.datadog.acExclude | quote }}
{{- end }}
{{- if not .Values.clusterAgent.enabled }}
{{- if .Values.datadog.leaderElection }}
- name: DD_LEADER_ELECTION