mirror of
https://github.com/plausible/hosting.git
synced 2025-07-04 02:57:29 -05:00
Update mail in k8s-manifests
This commit is contained in:
@ -61,6 +61,7 @@ kubectl -n plausible create configmap plausible \
|
|||||||
kubectl -n plausible apply \
|
kubectl -n plausible apply \
|
||||||
-f event-data-persistentvolumeclaim.yaml \
|
-f event-data-persistentvolumeclaim.yaml \
|
||||||
-f mail-deployment.yaml \
|
-f mail-deployment.yaml \
|
||||||
|
-f mail-service.yaml \
|
||||||
-f plausible-deployment.yaml \
|
-f plausible-deployment.yaml \
|
||||||
-f plausible-service.yaml \
|
-f plausible-service.yaml \
|
||||||
-f plausible-ingress.yaml \
|
-f plausible-ingress.yaml \
|
||||||
|
@ -20,4 +20,7 @@ spec:
|
|||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
name: mail
|
name: mail
|
||||||
resources: {}
|
resources: {}
|
||||||
|
ports:
|
||||||
|
- name: mail
|
||||||
|
containerPort: 25
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
|
13
k8s-manifests/mail-service.yaml
Normal file
13
k8s-manifests/mail-service.yaml
Normal 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
|
Reference in New Issue
Block a user