1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-25 20:59:28 +01:00

Merge pull request #496 from KohlsTechnology/nonroot-helm-chart

Update Helm Chart to run as non-root
This commit is contained in:
Kubernetes Prow Robot
2021-02-18 00:34:51 -08:00
committed by GitHub

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