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
@@ -45,6 +45,7 @@ spec:
|
||||
memory: 180Mi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
readOnlyRootFilesystem: true
|
||||
volumeMounts:
|
||||
- mountPath: /host/sys
|
||||
mountPropagation: HostToContainer
|
||||
@@ -79,6 +80,7 @@ spec:
|
||||
memory: 20Mi
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
readOnlyRootFilesystem: true
|
||||
runAsGroup: 65532
|
||||
runAsNonRoot: true
|
||||
runAsUser: 65532
|
||||
|
||||
Reference in New Issue
Block a user