PVC for DKIM
This commit is contained in:
parent
3ae97ac4e1
commit
2a63f7980b
@ -42,6 +42,22 @@
|
|||||||
name: ca-issuer
|
name: ca-issuer
|
||||||
kind: ClusterIssuer
|
kind: ClusterIssuer
|
||||||
|
|
||||||
|
- name: Create a persistent volume claim for mail
|
||||||
|
k8s:
|
||||||
|
state: present
|
||||||
|
definition:
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: dkim
|
||||||
|
namespace: mail
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 512Mi
|
||||||
|
|
||||||
- name: Create a persistent volume claim for mail
|
- name: Create a persistent volume claim for mail
|
||||||
k8s:
|
k8s:
|
||||||
state: present
|
state: present
|
||||||
@ -131,6 +147,8 @@
|
|||||||
mountPath: /etc/letsencrypt
|
mountPath: /etc/letsencrypt
|
||||||
- name: mail
|
- name: mail
|
||||||
mountPath: /var/mail
|
mountPath: /var/mail
|
||||||
|
- name: dkim
|
||||||
|
mountPath: /tmp/docker-mailserver/opendkim
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 25
|
- containerPort: 25
|
||||||
- containerPort: 465
|
- containerPort: 465
|
||||||
@ -198,6 +216,9 @@
|
|||||||
- name: mail
|
- name: mail
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: mail
|
claimName: mail
|
||||||
|
- name: dkim
|
||||||
|
PersistentVolumeClaim:
|
||||||
|
claimName: dkim
|
||||||
|
|
||||||
- name: Expose deployment as a service
|
- name: Expose deployment as a service
|
||||||
k8s:
|
k8s:
|
||||||
|
Loading…
Reference in New Issue
Block a user