Files
bakery-ia/infrastructure/platform/mail/mailu-helm/mailu-ingress.yaml
2026-01-22 11:30:36 +01:00

44 lines
1.5 KiB
YAML

# =============================================================================
# Mailu Ingress Configuration
# =============================================================================
# This is the base ingress template. Use the environment-specific versions:
#
# Development: dev/mailu-ingress.yaml (mail.bakery-ia.dev)
# Production: prod/mailu-ingress.yaml (mail.bakewise.ai)
#
# Deploy with:
# kubectl apply -f infrastructure/platform/mail/mailu-helm/dev/mailu-ingress.yaml # for dev
# kubectl apply -f infrastructure/platform/mail/mailu-helm/prod/mailu-ingress.yaml # for prod
# =============================================================================
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: mailu-ingress
namespace: bakery-ia
labels:
app.kubernetes.io/name: mailu
app.kubernetes.io/component: ingress
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: "100m"
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
spec:
ingressClassName: nginx
tls:
- hosts:
- mail.DOMAIN_PLACEHOLDER
secretName: TLS_SECRET_PLACEHOLDER
rules:
- host: mail.DOMAIN_PLACEHOLDER
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: mailu-front
port:
number: 80