mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 14:17:46 +00:00
Add missing smtp service to kubernetes
This commit is contained in:
parent
f6d6fb642d
commit
960816b002
@ -242,6 +242,27 @@ spec:
|
||||
claimName: mysql
|
||||
{% endif %}
|
||||
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: smtp
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: smtp
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: smtp
|
||||
spec:
|
||||
containers:
|
||||
- name: smtp
|
||||
image: {{ DOCKER_REGISTRY }}{{ DOCKER_IMAGE_SMTP }}
|
||||
ports:
|
||||
- containerPort: 25
|
||||
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
|
@ -130,3 +130,16 @@ spec:
|
||||
selector:
|
||||
app: rabbitmq
|
||||
{% endif %}
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: smtp
|
||||
spec:
|
||||
type: NodePort
|
||||
ports:
|
||||
- port: 25
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: smtp
|
||||
|
Loading…
Reference in New Issue
Block a user