mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/datadog] Allow overriding cluster-agent command (#22913)
Signed-off-by: Stanislav Petrashov <stanislav.petrashov@n26.com>
This commit is contained in:
@@ -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,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: datadog
|
||||
version: 2.3.13
|
||||
version: 2.3.14
|
||||
appVersion: "7"
|
||||
description: Datadog Agent
|
||||
keywords:
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user