Remove secret pvc and change access mode of persistent vc to ReadWriteOnce

This commit is contained in:
Quentin Legot 2023-10-09 17:48:14 +02:00
parent 338548b3b6
commit ba6035574b
3 changed files with 1 additions and 14 deletions

View File

@ -1,12 +0,0 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: dovecot-secret-pv-claim
labels:
app: dovecot
spec:
resources:
requests:
storage: 50Mi
accessModes:
- ReadOnlyMany

View File

@ -6,7 +6,7 @@ metadata:
app: dovecot app: dovecot
spec: spec:
accessModes: accessModes:
- ReadWriteMany - ReadWriteOnce
resources: resources:
requests: requests:
storage: 250Mi storage: 250Mi

View File

@ -3,7 +3,6 @@ resources:
- dovecot-deployment.yaml - dovecot-deployment.yaml
- dovecot-svc.yaml - dovecot-svc.yaml
- dovecot-volume.yaml - dovecot-volume.yaml
- dovecot-secret-volume.yaml
- postfix-deployment.yaml - postfix-deployment.yaml
- postfix-svc.yaml - postfix-svc.yaml
- roundcube-deployment.yaml - roundcube-deployment.yaml