Maybe fixed the erro: may not specify more than 1 volume
This commit is contained in:
parent
52af909053
commit
338548b3b6
@ -34,21 +34,17 @@ spec:
|
|||||||
- containerPort: 993
|
- containerPort: 993
|
||||||
name: imaps
|
name: imaps
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: dovecot-secrets
|
- name: dovecot-persistent-storage
|
||||||
mountPath: "/etc/dovecot/secrets"
|
mountPath: "/etc/dovecot/secrets"
|
||||||
|
subPath: secrets
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: dovecot-persistent-storage
|
- name: dovecot-persistent-storage
|
||||||
|
subPath: storage
|
||||||
mountPath: "/home"
|
mountPath: "/home"
|
||||||
volumes:
|
volumes:
|
||||||
- name: dovecot-persistent-storage
|
- name: dovecot-persistent-storage
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: dovecot-pv-claim
|
claimName: dovecot-pv-claim
|
||||||
- name: dovecot-secrets
|
|
||||||
secret:
|
|
||||||
secretName: dovecot-secrets
|
|
||||||
defaultMode: 292
|
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: dovecot-secret-pv-claim
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user