diff --git a/dockerfiles/dovecot/Dockerfile b/dockerfiles/dovecot/Dockerfile index 2141e52..3c68cf1 100644 --- a/dockerfiles/dovecot/Dockerfile +++ b/dockerfiles/dovecot/Dockerfile @@ -8,7 +8,7 @@ RUN apk --no-cache add dovecot dovecot-lmtpd dovecot-submissiond bash # RUN wget https://github.com/dovecot/docker/blob/main/2.3.21/dovecot.list # RUN cp dovecot.list /etc/apt/sources.list.d -COPY password_file /etc/dovecot/secrets/dovecot_password.file +COPY password_file /etc/dovecot/secrets/dovecot_password_file COPY dovecot.conf /etc/dovecot/dovecot.conf EXPOSE 24 diff --git a/dockerfiles/dovecot/password_file b/dockerfiles/dovecot/password_file index a39e466..ab7c372 100644 --- a/dockerfiles/dovecot/password_file +++ b/dockerfiles/dovecot/password_file @@ -1,2 +1,2 @@ -user:{plain}password -user2:{plain}password2 \ No newline at end of file +user:{PLAIN}password +user2:{PLAIN}password2 \ No newline at end of file diff --git a/kustomize/dovecot-deployment.yaml b/kustomize/dovecot-deployment.yaml index 792d34c..5c6ec3a 100644 --- a/kustomize/dovecot-deployment.yaml +++ b/kustomize/dovecot-deployment.yaml @@ -37,7 +37,6 @@ spec: - name: dovecot-persistent-storage mountPath: "/etc/dovecot/secrets" subPath: secrets - readOnly: true - name: dovecot-persistent-storage subPath: storage mountPath: "/home"