1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

Update Helm Chart to run as non-root

This commit is contained in:
Sean Malloy
2021-02-10 21:49:01 -06:00
parent b63c6fac27
commit 4444811f26

View File

@@ -59,6 +59,14 @@ spec:
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 16 }}
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop:
- ALL
privileged: false
readOnlyRootFilesystem: true
runAsNonRoot: true
volumeMounts:
- mountPath: /policy-dir
name: policy-volume