Added secret volume claim

This commit is contained in:
Quentin Legot 2023-10-09 16:48:22 +02:00
parent 5e7e9a0c9b
commit 9dcb979cce
3 changed files with 12 additions and 1 deletions

View File

@ -48,7 +48,7 @@ spec:
secretName: dovecot-secrets secretName: dovecot-secrets
defaultMode: 292 defaultMode: 292
persistentVolumeClaim: persistentVolumeClaim:
claimName: dovecot-pv-claim claimName: dovecot-secret-pv-claim

View File

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

View File

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