mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/datadog] Allow providing volumes and mounts in the cluster agent deployment (#19679)
* Allow providing volumes and mounts in the cluster agent deployment Signed-off-by: Ivan Ilichev <ivan.ilichev@datadoghq.com> * Document volumes and volumeMounts for cluster agent in README Signed-off-by: Ivan Ilichev <ivan.ilichev@datadoghq.com> * Add a test for the volumes and volumeMounts Signed-off-by: Ivan Ilichev <ivan.ilichev@datadoghq.com> * Bump chart version Signed-off-by: Ivan Ilichev <ivan.ilichev@datadoghq.com> * Fix file ending Signed-off-by: Ivan Ilichev <ivan.ilichev@datadoghq.com> * Rename the ci test and change to use a hostPath volume Signed-off-by: Ivan Ilichev <ivan.ilichev@datadoghq.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
14bac7f94f
commit
7103e65f00
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: datadog
|
||||
version: 1.38.16
|
||||
version: 1.38.17
|
||||
appVersion: "6"
|
||||
description: DataDog Agent
|
||||
keywords:
|
||||
|
||||
@@ -359,6 +359,8 @@ helm install --name <RELEASE_NAME> \
|
||||
| `clusterAgent.readinessProbe` | Overrides the default readiness probe | http port 443 if external metrics enabled |
|
||||
| `clusterAgent.strategy` | Which update strategy to deploy the cluster-agent | RollingUpdate with 0 maxUnavailable, 1 maxSurge |
|
||||
| `clusterAgent.useHostNetwork` | If true, use the host's network | `nil` |
|
||||
| `clusterAgent.volumes` | Additional volumes for the cluster-agent deployment | `nil` |
|
||||
| `clusterAgent.volumeMounts` | Additional volumeMounts for the cluster-agent deployment | `nil` |
|
||||
| `clusterchecksDeployment.enabled` | Enable Datadog agent deployment dedicated for running Cluster Checks. It allows having different resources (Request/Limit) for Cluster Checks agent pods. | `false` |
|
||||
| `clusterchecksDeployment.env` | Additional Datadog environment variables for Cluster Checks Deployment | `nil` |
|
||||
| `clusterchecksDeployment.resources.requests.cpu` | CPU resource requests | `200m` |
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
clusterAgent:
|
||||
enabled: true
|
||||
|
||||
volumes:
|
||||
- name: tmp
|
||||
hostPath:
|
||||
path: /tmp
|
||||
|
||||
volumeMounts:
|
||||
- name: tmp
|
||||
mountPath: /etc/tmp
|
||||
readOnly: true
|
||||
@@ -164,15 +164,23 @@ spec:
|
||||
path: /healthz
|
||||
scheme: HTTPS
|
||||
{{- end }}
|
||||
{{- if .Values.clusterAgent.confd }}
|
||||
volumeMounts:
|
||||
{{- if .Values.clusterAgent.confd }}
|
||||
- name: confd
|
||||
mountPath: /conf.d
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
{{- if .Values.clusterAgent.volumeMounts }}
|
||||
{{ toYaml .Values.clusterAgent.volumeMounts | indent 10 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
{{- if .Values.clusterAgent.confd }}
|
||||
- name: confd
|
||||
configMap:
|
||||
name: {{ template "datadog.fullname" . }}-cluster-agent-confd
|
||||
{{- end }}
|
||||
{{- if .Values.clusterAgent.volumes }}
|
||||
{{ toYaml .Values.clusterAgent.volumes | indent 10 }}
|
||||
{{- end }}
|
||||
{{- if .Values.clusterAgent.tolerations }}
|
||||
tolerations:
|
||||
|
||||
@@ -467,6 +467,22 @@ clusterAgent:
|
||||
#
|
||||
# useHostNetwork: true
|
||||
|
||||
## @param volumes - list of objects - optional
|
||||
## Specify additional volumes to mount in the cluster-agent container
|
||||
#
|
||||
# volumes:
|
||||
# - hostPath:
|
||||
# path: <HOST_PATH>
|
||||
# name: <VOLUME_NAME>
|
||||
|
||||
## @param volumeMounts - list of objects - optional
|
||||
## Specify additional volumes to mount in the cluster-agent container
|
||||
#
|
||||
# volumeMounts:
|
||||
# - name: <VOLUME_NAME>
|
||||
# mountPath: <CONTAINER_PATH>
|
||||
# readOnly: true
|
||||
|
||||
rbac:
|
||||
|
||||
## @param created - boolean - required
|
||||
|
||||
Reference in New Issue
Block a user