mirror of
https://github.com/kubereboot/kured.git
synced 2026-08-23 21:36:33 +00:00
adding value containerSecurityContext to helm chart #521
This commit is contained in:
committed by
Christian Kotzbauer
parent
7f6d4a1846
commit
e38d153fe7
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user