Files
bakery-ia/infrastructure/platform/mail/mailu-helm/mailu-ingress.yaml

44 lines
1.5 KiB
YAML
Raw Normal View History

2026-01-22 11:30:36 +01:00
# =============================================================================
# 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
# =============================================================================
2026-01-19 13:57:50 +01:00
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: mailu-ingress
2026-01-20 22:05:10 +01:00
namespace: bakery-ia
labels:
app.kubernetes.io/name: mailu
app.kubernetes.io/component: ingress
2026-01-19 13:57:50 +01:00
annotations:
2026-01-20 22:05:10 +01:00
nginx.ingress.kubernetes.io/proxy-body-size: "100m"
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
2026-01-19 13:57:50 +01:00
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
2026-01-20 22:05:10 +01:00
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
2026-01-19 13:57:50 +01:00
spec:
2026-01-20 22:05:10 +01:00
ingressClassName: nginx
2026-01-19 13:57:50 +01:00
tls:
- hosts:
2026-01-22 11:30:36 +01:00
- mail.DOMAIN_PLACEHOLDER
secretName: TLS_SECRET_PLACEHOLDER
2026-01-19 13:57:50 +01:00
rules:
2026-01-22 11:30:36 +01:00
- host: mail.DOMAIN_PLACEHOLDER
2026-01-19 13:57:50 +01:00
http:
paths:
- path: /
pathType: Prefix
backend:
service:
2026-01-22 11:30:36 +01:00
name: mailu-front
2026-01-19 13:57:50 +01:00
port:
2026-01-22 11:30:36 +01:00
number: 80