From fe496d6f318732e5ce29b71fe43193f0fe7f28a3 Mon Sep 17 00:00:00 2001
From: Sheogorath <sheogorath@shivering-isles.com>
Date: Mon, 27 Nov 2023 05:04:59 +0100
Subject: [PATCH] fix(mok): Fix typo in podSpec

---
 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 19ae59000..80b2dde8b 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.5
+version: 0.10.6
 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 982865223..54f0d7014 100644
--- a/charts/mok/README.md
+++ b/charts/mok/README.md
@@ -1,6 +1,6 @@
 # mok
 
-![Version: 0.10.5](https://img.shields.io/badge/Version-0.10.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
+![Version: 0.10.6](https://img.shields.io/badge/Version-0.10.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
 
 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 fd2c14f90..023325622 100644
--- a/charts/mok/templates/postfix.yaml
+++ b/charts/mok/templates/postfix.yaml
@@ -70,7 +70,7 @@ spec:
       serviceAccountName: {{ include "mok.serviceAccountName" . }}
       securityContext:
         {{- toYaml .Values.postfix.podSecurityContext | nindent 8 }}
-      initContainer:
+      initContainers:
         - name: postmap
           image: {{ .Values.postfix.image.repository }}:{{.Values.postfix.image.tag | default "latest" }}
           imagePullPolicy: {{ .Values.postfix.image.pullPolicy }}
diff --git a/charts/mok/tests/__snapshot__/postfix_test.yaml.snap b/charts/mok/tests/__snapshot__/postfix_test.yaml.snap
index 4e88dea1d..2c6944499 100644
--- a/charts/mok/tests/__snapshot__/postfix_test.yaml.snap
+++ b/charts/mok/tests/__snapshot__/postfix_test.yaml.snap
@@ -518,7 +518,7 @@ should match snapshot:
                   name: tls
                   readOnly: true
               workingDir: /etc/postfix
-          initContainer:
+          initContainers:
             - command:
                 - sh
                 - -c
-- 
GitLab