Error in nginx when starting registry-proxy (#4785)
Error starting nginx because in requiredDropCapabilities is dropped all capabilities. The nginx requires the following capabilities: - CHOWN - SETGID - SETUID Signed-off-by: André R. de Miranda <andre@miranda.work>
This commit is contained in:
parent
5d9946184a
commit
4bc204925a
1 changed files with 10 additions and 1 deletions
|
@ -17,7 +17,16 @@ spec:
|
|||
privileged: false
|
||||
allowPrivilegeEscalation: false
|
||||
requiredDropCapabilities:
|
||||
- ALL
|
||||
- SETPCAP
|
||||
- MKNOD
|
||||
- AUDIT_WRITE
|
||||
- NET_RAW
|
||||
- DAC_OVERRIDE
|
||||
- FOWNER
|
||||
- FSETID
|
||||
- KILL
|
||||
- SYS_CHROOT
|
||||
- SETFCAP
|
||||
volumes:
|
||||
- 'configMap'
|
||||
- 'emptyDir'
|
||||
|
|
Loading…
Reference in a new issue