From cac18ffa7a864002322da35620532b4e2b2a3a43 Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Thu, 14 Jul 2022 17:54:55 +0200 Subject: [PATCH] fix(dovecot): Fix broken vmail permissions --- charts/mok/values.yaml | 4 ++-- images/dovecot/.release | 2 +- images/dovecot/Dockerfile | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/charts/mok/values.yaml b/charts/mok/values.yaml index acd22ab72..6a39313e7 100644 --- a/charts/mok/values.yaml +++ b/charts/mok/values.yaml @@ -123,7 +123,7 @@ dovecot: repository: quay.io/shivering-isles/dovecot pullPolicy: IfNotPresent # -- Overrides the image tag whose default is "latest" - tag: "0.1.0" + tag: "0.1.1" # -- pull secret to access the afore defined image imagePullSecrets: [] @@ -131,7 +131,7 @@ dovecot: podAnnotations: {} podSecurityContext: {} - # fsGroup: 2000 + # fsGroup: 5000 securityContext: allowPrivilegeEscalation: false diff --git a/images/dovecot/.release b/images/dovecot/.release index 85f180f38..30d504277 100644 --- a/images/dovecot/.release +++ b/images/dovecot/.release @@ -1 +1 @@ -release=0.1.0 +release=0.1.1 diff --git a/images/dovecot/Dockerfile b/images/dovecot/Dockerfile index 3dc9c8e4a..e3344fe93 100644 --- a/images/dovecot/Dockerfile +++ b/images/dovecot/Dockerfile @@ -30,6 +30,8 @@ RUN addgroup --gid "$GID" "$USER" \ --uid "$UID" \ "$USER" +RUN mkdir /srv/mail && chown 5000:5000 /srv/mail + VOLUME /srv/mail # 24: LMTP -- GitLab