add securityContext field at conatiner level (#5734)
This commit is contained in:
committed by
Steve Perry
parent
e28d2030a8
commit
ccfd7aac3c
@@ -15,4 +15,5 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: sec-ctx-vol
|
- name: sec-ctx-vol
|
||||||
mountPath: /data/demo
|
mountPath: /data/demo
|
||||||
|
securityContext:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|||||||
Reference in New Issue
Block a user