Merge pull request #1593 from prometheus-operator/as/forbid-privilege-scalation

Explicitly declare allowPrivilegeEscalation to false in all components
This commit is contained in:
Arthur Silva Sens
2022-01-24 10:38:33 +00:00
committed by GitHub
13 changed files with 49 additions and 2 deletions

View File

@@ -62,6 +62,7 @@ spec:
cpu: 10m
memory: 20Mi
securityContext:
allowPrivilegeEscalation: false
runAsGroup: 65532
runAsNonRoot: true
runAsUser: 65532