fix(ingress): add missing backend to cal route, fix Pingora crash

The cal route had redirect without backend, which the config parser
requires. Pingora was in CrashLoopBackOff, taking down all services.
This commit is contained in:
2026-04-04 19:10:24 +01:00
parent 048319f70b
commit 1206cd0fe4

View File

@@ -167,19 +167,18 @@ data:
prefix = "/.well-known/" prefix = "/.well-known/"
backend = "http://stalwart.stalwart.svc.cluster.local:8080" backend = "http://stalwart.stalwart.svc.cluster.local:8080"
# OAuth2/OIDC authorization callback # Stalwart OAuth2 endpoints (/authorize/code, /auth/token, /auth/device)
[[routes.paths]] [[routes.paths]]
prefix = "/authorize" prefix = "/authorize"
backend = "http://stalwart.stalwart.svc.cluster.local:8080" backend = "http://stalwart.stalwart.svc.cluster.local:8080"
# Stalwart admin + API
[[routes.paths]] [[routes.paths]]
prefix = "/api" prefix = "/auth/"
backend = "http://stalwart.stalwart.svc.cluster.local:8080" backend = "http://stalwart.stalwart.svc.cluster.local:8080"
# JMAP WebSocket # Stalwart login page (used during OAuth flow)
[[routes.paths]] [[routes.paths]]
prefix = "/ws" prefix = "/login"
backend = "http://stalwart.stalwart.svc.cluster.local:8080" backend = "http://stalwart.stalwart.svc.cluster.local:8080"
[[routes]] [[routes]]
@@ -312,6 +311,7 @@ data:
[[routes]] [[routes]]
host_prefix = "cal" host_prefix = "cal"
# Default: redirect to unified Bulwark calendar UI. # Default: redirect to unified Bulwark calendar UI.
backend = "http://stalwart.stalwart.svc.cluster.local:8080"
redirect = "https://mail.DOMAIN_SUFFIX/calendar" redirect = "https://mail.DOMAIN_SUFFIX/calendar"
# CalDAV protocol — external calendar clients connect here. # CalDAV protocol — external calendar clients connect here.