fix(traefik): platform-level HTTP→HTTPS redirect at the web entrypoint

This commit is contained in:
OdooSky v3
2026-05-05 12:04:22 +02:00
parent 7e3280aa26
commit 0c39732f63

View File

@@ -115,6 +115,18 @@ traefik:
enabled: true
service:
type: LoadBalancer
# Platform-level HTTP → HTTPS redirect. Without this, browsers that
# default to http:// on a bare hostname hit Traefik's `web`
# entrypoint with no matching IngressRoute and get the built-in
# "404 page not found". Enabling redirectTo at the entrypoint makes
# every TCP-80 request bounce to TCP-443 with a 301 — applies
# uniformly to all IngressRoutes on this cluster, no per-instance
# Middleware or duplicate IngressRoute needed.
ports:
web:
redirectTo:
port: websecure
priority: 10
# secrets — Tower applies these out-of-band via the registered
# kubeconfig at Connect time (B2). The chart references them by