adding value containerSecurityContext to helm chart #521

This commit is contained in:
Silvan Loser
2022-04-02 17:26:28 +02:00
committed by Christian Kotzbauer
parent 7f6d4a1846
commit e38d153fe7
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.9.2"
description: A Helm chart for kured
name: kured
version: 2.12.1
version: 2.12.2
home: https://github.com/weaveworks/kured
maintainers:
- name: ckotzbauer
+1 -1
View File
@@ -50,7 +50,7 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
securityContext:
privileged: true # Give permission to nsenter /proc/1/ns/mnt
{{ toYaml .Values.containerSecurityContext | indent 12 }}
resources:
{{ toYaml .Values.resources | indent 12 }}
command:
+4
View File
@@ -63,6 +63,10 @@ serviceAccount:
podSecurityPolicy:
create: false
containerSecurityContext:
privileged: true # Give permission to nsenter /proc/1/ns/mnt
# allowPrivilegeEscalation: true # Needed when using defaultAllowPrivilegedEscalation: false in psp
resources: {}
metrics: