2023-10-09 15:54:59 +02:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: postfix
|
|
|
|
labels:
|
|
|
|
app: postfix
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: postfix
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: postfix
|
|
|
|
tier: smtp
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: postfix
|
|
|
|
image: git.altarik.fr/quentinlegot/postfix:latest
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
memory: "128Mi"
|
2023-10-09 18:02:44 +02:00
|
|
|
cpu: "300m"
|
2023-10-09 15:54:59 +02:00
|
|
|
ports:
|
|
|
|
- containerPort: 25
|
|
|
|
name: smtp
|
|
|
|
- containerPort: 143
|
2023-10-09 16:03:11 +02:00
|
|
|
name: auth-smtp-tls
|
2023-10-09 15:54:59 +02:00
|
|
|
- containerPort: 587
|
|
|
|
name: msa
|
|
|
|
|