Update mail in k8s-manifests

This commit is contained in:
Caleb Woodbine 2021-05-15 12:12:23 +12:00
parent 4189ec29ee
commit d7098650e7
3 changed files with 17 additions and 0 deletions

View File

@ -61,6 +61,7 @@ kubectl -n plausible create configmap plausible \
kubectl -n plausible apply \
-f event-data-persistentvolumeclaim.yaml \
-f mail-deployment.yaml \
-f mail-service.yaml \
-f plausible-deployment.yaml \
-f plausible-service.yaml \
-f plausible-ingress.yaml \

View File

@ -20,4 +20,7 @@ spec:
imagePullPolicy: IfNotPresent
name: mail
resources: {}
ports:
- name: mail
containerPort: 25
restartPolicy: Always

View File

@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
labels:
app: mail
name: mail
spec:
ports:
- name: http
port: 25
targetPort: 25
selector:
app: mail