From 92a2d2c4788244c42a7c31873cd01d9d677a06fe Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Mon, 27 Nov 2023 00:28:23 +0100 Subject: [PATCH] fix(mok): Fix wrong file modes --- charts/mok/Chart.yaml | 2 +- charts/mok/README.md | 2 +- charts/mok/templates/postfix.yaml | 2 +- charts/mok/tests/__snapshot__/postfix_test.yaml.snap | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/mok/Chart.yaml b/charts/mok/Chart.yaml index 8131a2748..a05b8417e 100644 --- a/charts/mok/Chart.yaml +++ b/charts/mok/Chart.yaml @@ -3,7 +3,7 @@ name: mok description: | Mail on Kubernetes (MoK) is a project to deploy a functional mailserver that runs without a database server on Kubernetes, taking advantage of configmaps and secret. type: application -version: 0.10.1 +version: 0.10.2 sources: - https://de.postfix.org/ftpmirror/index.html - https://github.com/dovecot/core diff --git a/charts/mok/README.md b/charts/mok/README.md index 498237de6..67bcca8b3 100644 --- a/charts/mok/README.md +++ b/charts/mok/README.md @@ -1,6 +1,6 @@ # mok -  +  Mail on Kubernetes (MoK) is a project to deploy a functional mailserver that runs without a database server on Kubernetes, taking advantage of configmaps and secret. diff --git a/charts/mok/templates/postfix.yaml b/charts/mok/templates/postfix.yaml index 843ade01e..ac3eddb2c 100644 --- a/charts/mok/templates/postfix.yaml +++ b/charts/mok/templates/postfix.yaml @@ -251,7 +251,7 @@ spec: - name: config configMap: name: {{ include "mok.fullname" . }}-postfix - defaultMode: 644 + defaultMode: 0644 - name: tls secret: secretName: {{ required "TLS secret for postfix is required" .Values.postfix.tls.secretName }} diff --git a/charts/mok/tests/__snapshot__/postfix_test.yaml.snap b/charts/mok/tests/__snapshot__/postfix_test.yaml.snap index 728d6a4b9..5aa1f7790 100644 --- a/charts/mok/tests/__snapshot__/postfix_test.yaml.snap +++ b/charts/mok/tests/__snapshot__/postfix_test.yaml.snap @@ -620,7 +620,7 @@ should match snapshot: secret: secretName: RELEASE-NAME-mok-postfix-maps - configMap: - defaultMode: 644 + defaultMode: 420 name: RELEASE-NAME-mok-postfix name: config - name: tls -- GitLab