mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/datadog] fix PodSecurityContext seLinux (#23088)
Fixes #23084 Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Datadog changelog
|
||||
|
||||
## 2.3.26
|
||||
|
||||
* fix PodSecurityContext configuration
|
||||
|
||||
## 2.3.25
|
||||
|
||||
* Use directly .env var YAML block for all agents (was already the case for Cluster Agent)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: datadog
|
||||
version: 2.3.25
|
||||
version: 2.3.26
|
||||
appVersion: "7"
|
||||
description: Datadog Agent
|
||||
keywords:
|
||||
|
||||
@@ -41,9 +41,10 @@ spec:
|
||||
{{ toYaml .Values.agents.podAnnotations | indent 8 }}
|
||||
{{- end }}
|
||||
spec:
|
||||
{{- if .Values.datadog.securityContext }}
|
||||
{{- if and .Values.datadog.securityContext .Values.datadog.securityContext.seLinuxOptions }}
|
||||
securityContext:
|
||||
{{ toYaml .Values.datadog.securityContext | indent 8 }}
|
||||
seLinuxOptions:
|
||||
{{ toYaml .Values.datadog.securityContext.seLinuxOptions | indent 10 }}
|
||||
{{- end }}
|
||||
{{- if .Values.agents.useHostNetwork }}
|
||||
hostNetwork: {{ .Values.agents.useHostNetwork }}
|
||||
|
||||
Reference in New Issue
Block a user