components/*: Forbid write access to root filesystem
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
committed by
ArthurSens
parent
48b2bb6a72
commit
57c46a2861
@@ -44,6 +44,7 @@ spec:
|
||||
memory: 100Mi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
readOnlyRootFilesystem: true
|
||||
- args:
|
||||
- --logtostderr
|
||||
- --secure-listen-address=:8443
|
||||
@@ -63,6 +64,7 @@ spec:
|
||||
memory: 20Mi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
readOnlyRootFilesystem: true
|
||||
runAsGroup: 65532
|
||||
runAsNonRoot: true
|
||||
runAsUser: 65532
|
||||
|
||||
Reference in New Issue
Block a user