From ba6035574b6ab12c9c4338e390ea7e91ecae7914 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Mon, 9 Oct 2023 17:48:14 +0200 Subject: [PATCH] Remove secret pvc and change access mode of persistent vc to ReadWriteOnce --- kustomize/dovecot-secret-volume.yaml | 12 ------------ kustomize/dovecot-volume.yaml | 2 +- kustomize/kustomization.yaml | 1 - 3 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 kustomize/dovecot-secret-volume.yaml diff --git a/kustomize/dovecot-secret-volume.yaml b/kustomize/dovecot-secret-volume.yaml deleted file mode 100644 index 75affa1..0000000 --- a/kustomize/dovecot-secret-volume.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: dovecot-secret-pv-claim - labels: - app: dovecot -spec: - resources: - requests: - storage: 50Mi - accessModes: - - ReadOnlyMany diff --git a/kustomize/dovecot-volume.yaml b/kustomize/dovecot-volume.yaml index 5e934db..62a6eaa 100644 --- a/kustomize/dovecot-volume.yaml +++ b/kustomize/dovecot-volume.yaml @@ -6,7 +6,7 @@ metadata: app: dovecot spec: accessModes: - - ReadWriteMany + - ReadWriteOnce resources: requests: storage: 250Mi \ No newline at end of file diff --git a/kustomize/kustomization.yaml b/kustomize/kustomization.yaml index 256e19c..9501a72 100644 --- a/kustomize/kustomization.yaml +++ b/kustomize/kustomization.yaml @@ -3,7 +3,6 @@ resources: - dovecot-deployment.yaml - dovecot-svc.yaml - dovecot-volume.yaml - - dovecot-secret-volume.yaml - postfix-deployment.yaml - postfix-svc.yaml - roundcube-deployment.yaml