diff --git a/kustomize/dovecot-deployment.yaml b/kustomize/dovecot-deployment.yaml index 0895daa..c7fe71c 100644 --- a/kustomize/dovecot-deployment.yaml +++ b/kustomize/dovecot-deployment.yaml @@ -48,7 +48,7 @@ spec: secretName: dovecot-secrets defaultMode: 292 persistentVolumeClaim: - claimName: dovecot-pv-claim + claimName: dovecot-secret-pv-claim diff --git a/kustomize/dovecot-secret-volume.yaml b/kustomize/dovecot-secret-volume.yaml new file mode 100644 index 0000000..ce5ebff --- /dev/null +++ b/kustomize/dovecot-secret-volume.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: dovecot-secret-pv-claim +spec: + resources: + requests: + storage: 50Mi + accessModes: + - ReadOnlyMany diff --git a/kustomize/kustomization.yaml b/kustomize/kustomization.yaml index 9501a72..5e4899c 100644 --- a/kustomize/kustomization.yaml +++ b/kustomize/kustomization.yaml @@ -3,6 +3,7 @@ resources: - dovecot-deployment.yaml - dovecot-svc.yaml - dovecot-volume.yaml + - docevot-secret-volume.yaml - postfix-deployment.yaml - postfix-svc.yaml - roundcube-deployment.yaml