Skip to content
Snippets Groups Projects
Verified Commit 742e3587 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(mok): Add missing FOWNER capability to setup chroot directories

parent 45b359c7
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,7 @@ Mail on Kubernetes (MoK) is a project to deploy a functional mailserver that run ...@@ -39,6 +39,7 @@ Mail on Kubernetes (MoK) is a project to deploy a functional mailserver that run
| dovecot.securityContext.capabilities.add[2] | string | `"CAP_NET_BIND_SERVICE"` | required to bind privileged ports in the container, such as 993, 143, 24, etc. | | dovecot.securityContext.capabilities.add[2] | string | `"CAP_NET_BIND_SERVICE"` | required to bind privileged ports in the container, such as 993, 143, 24, etc. |
| dovecot.securityContext.capabilities.add[3] | string | `"SETUID"` | required to drop privileges with dovecot process | | dovecot.securityContext.capabilities.add[3] | string | `"SETUID"` | required to drop privileges with dovecot process |
| dovecot.securityContext.capabilities.add[4] | string | `"SETGID"` | required to drop privileges with dovecot process | | dovecot.securityContext.capabilities.add[4] | string | `"SETGID"` | required to drop privileges with dovecot process |
| dovecot.securityContext.capabilities.add[5] | string | `"FOWNER"` | required to create spool directories |
| dovecot.securityContext.capabilities.drop[0] | string | `"ALL"` | required to drop privileges by default | | dovecot.securityContext.capabilities.drop[0] | string | `"ALL"` | required to drop privileges by default |
| dovecot.securityContext.runAsNonRoot | bool | `false` | | | dovecot.securityContext.runAsNonRoot | bool | `false` | |
| dovecot.service.internal.type | string | `"ClusterIP"` | type of the public endpoint for lmtp, metrics, authentication | | dovecot.service.internal.type | string | `"ClusterIP"` | type of the public endpoint for lmtp, metrics, authentication |
......
...@@ -122,6 +122,7 @@ should match snapshot: ...@@ -122,6 +122,7 @@ should match snapshot:
- CAP_NET_BIND_SERVICE - CAP_NET_BIND_SERVICE
- SETUID - SETUID
- SETGID - SETGID
- FOWNER
drop: drop:
- ALL - ALL
runAsNonRoot: false runAsNonRoot: false
......
...@@ -136,6 +136,8 @@ dovecot: ...@@ -136,6 +136,8 @@ dovecot:
- SETUID - SETUID
# -- required to drop privileges with dovecot process # -- required to drop privileges with dovecot process
- SETGID - SETGID
# -- required to create spool directories
- FOWNER
drop: drop:
# -- required to drop privileges by default # -- required to drop privileges by default
- ALL - ALL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment