cozystack/packages
Kirill Ilin 086ceda69b
fix(gateway-api): move HTTP listener and redirect to shared acme-challenge Gateway
Per-component Gateways had HTTP listeners with hostname-specific redirect
routes that conflicted with cert-manager ACME HTTP-01 challenges. The
redirect captured HTTP traffic before the challenge HTTPRoute could serve
the token, creating a chicken-and-egg problem.

Move the HTTP listener to a single shared acme-challenge Gateway with a
wildcard listener (no hostname restriction, allowedRoutes from All). Add
a global redirect-to-https HTTPRoute on this Gateway. Per-component
Gateways now only have HTTPS listeners.

The ACME challenge Exact path match takes priority over the redirect's
implicit PathPrefix, so challenges are served correctly while all other
HTTP traffic is redirected to HTTPS.

Assisted-By: Claude AI
Signed-off-by: Kirill Ilin <stitch14@yandex.ru>
2026-03-25 22:14:43 +05:00
..
apps fix(gateway-api): move HTTP listener and redirect to shared acme-challenge Gateway 2026-03-25 22:14:43 +05:00
core fix(gateway-api): use actual cluster domain for Envoy Gateway xDS 2026-03-25 22:14:42 +05:00
extra fix(gateway-api): move HTTP listener and redirect to shared acme-challenge Gateway 2026-03-25 22:14:43 +05:00
library revert: temporarily remove cozy-lib Gateway API helpers 2026-03-25 22:14:34 +05:00
system fix(gateway-api): move HTTP listener and redirect to shared acme-challenge Gateway 2026-03-25 22:14:43 +05:00
tests/cozy-lib-tests refactor: replace Helm lookup with valuesFrom mechanism 2026-01-05 16:10:55 +01:00