[stable/datadog] Allow overriding cluster-agent command (#22913)

Signed-off-by: Stanislav Petrashov <stanislav.petrashov@n26.com>
This commit is contained in:
Stanislav Petrashov
2020-06-23 13:19:19 -07:00
committed by GitHub
parent 77eb3fc924
commit c2164018be
5 changed files with 14 additions and 1 deletions
+4
View File
@@ -1,5 +1,9 @@
# Datadog changelog
## 2.3.14
* Allow overriding the `command` to run in the cluster-agent container
## 2.3.13
* Use two distinct health endpoints for liveness and readiness probes.
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: datadog
version: 2.3.13
version: 2.3.14
appVersion: "7"
description: Datadog Agent
keywords:
+1
View File
@@ -380,6 +380,7 @@ helm install --name <RELEASE_NAME> \
| `clusterAgent.image.tag` | The image tag to pull | `1.2.0` |
| `clusterAgent.image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `clusterAgent.image.pullSecrets` | Image pull secrets | `nil` |
| `clusterAgent.command` | Override the default command to run in the container | `nil` |
| `clusterAgent.rbac.create` | If true, create & use RBAC resources for cluster agent's pods | `true` |
| `clusterAgent.rbac.serviceAccount` | existing ServiceAccount to use (ignored if rbac.create=true) for cluster agent's pods | `default` |
| `clusterAgent.metricsProvider.enabled` | Enable Datadog metrics as a source for HPA scaling | `false` |
@@ -80,6 +80,9 @@ spec:
containers:
- name: cluster-agent
image: "{{ .Values.clusterAgent.image.repository }}:{{ .Values.clusterAgent.image.tag }}"
{{- if .Values.clusterAgent.command }}
command: {{ .Values.clusterAgent.command }}
{{- end }}
imagePullPolicy: {{ .Values.clusterAgent.image.pullPolicy }}
resources:
{{ toYaml .Values.clusterAgent.resources | indent 10 }}
+5
View File
@@ -399,6 +399,11 @@ clusterAgent:
pullSecrets:
# - name: "<REG_SECRET>"
## @param command - array - optional
## Command to run in the Cluster Agent container
#
command: # []
## @param token - string - required
## This needs to be at least 32 characters a-zA-z
## It is a preshared key between the node agents and the cluster agent