Compare commits
2 Commits
3ae97ac4e1
...
5aac0ef5a9
Author | SHA1 | Date | |
---|---|---|---|
5aac0ef5a9 | |||
2a63f7980b |
@ -42,6 +42,22 @@
|
||||
name: ca-issuer
|
||||
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
|
||||
k8s:
|
||||
state: present
|
||||
@ -131,6 +147,8 @@
|
||||
mountPath: /etc/letsencrypt
|
||||
- name: mail
|
||||
mountPath: /var/mail
|
||||
- name: dkim
|
||||
mountPath: /tmp/docker-mailserver/opendkim
|
||||
ports:
|
||||
- containerPort: 25
|
||||
- containerPort: 465
|
||||
@ -198,6 +216,9 @@
|
||||
- name: mail
|
||||
persistentVolumeClaim:
|
||||
claimName: mail
|
||||
- name: dkim
|
||||
persistentVolumeClaim:
|
||||
claimName: dkim
|
||||
|
||||
- name: Expose deployment as a service
|
||||
k8s:
|
||||
|
Loading…
Reference in New Issue
Block a user