*: Use non-root

This commit is contained in:
Frederic Branczyk
2018-01-22 14:42:15 +01:00
parent 6afb6bce43
commit 546a2e6ac6
6 changed files with 32 additions and 4 deletions

View File

@@ -14,6 +14,9 @@ spec:
name: node-exporter
spec:
serviceAccountName: node-exporter
securityContext:
runAsNonRoot: true
runAsUser: 65534
hostNetwork: true
hostPID: true
containers: