Try smtp with metallb

This commit is contained in:
dvirlabs 2025-05-30 17:36:46 +03:00
parent dec65c3782
commit 2503b5c64d

View File

@ -10,6 +10,7 @@ ingress:
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: "web,websecure"
traefik.ingress.kubernetes.io/router.tls: "true"
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
hosts:
- host: mail.dvirlabs.com
paths:
@ -33,18 +34,30 @@ tls:
certmanager:
enabled: true
# Internal service (ClusterIP)
service:
front:
nodeSelector:
node-role.kubernetes.io/worker: "true"
type: ClusterIP
port: 80
targetPort: 80
# External access via MetalLB (LoadBalancer)
front:
realIpFrom:
- 192.168.10.0/24
externalService:
enabled: true
type: LoadBalancer
externalTrafficPolicy: Cluster
ports:
smtp: true
submission: true
imap: true
imaps: true
smtp: true # port 25
submission: true # port 587
imap: true # port 143
imaps: true # port 993
# Optional: You can manually specify a loadBalancerIP here if you want to fix the IP
# loadBalancerIP: 192.168.10.241
nodeSelector:
node-role.kubernetes.io/worker: "true"
dkim:
enabled: true