Repository navigation
Commit 476ecfc
committed
fix(dashboard): bind HTTPRoute to the https listener only
Address review feedback from kitsunoff on
packages/system/dashboard/templates/httproute.yaml:11: without sectionName,
the HTTPRoute attached to both http:80 and https:443. Under Gateway API
hostname-precedence rules, a route with a specific hostname wins over the
generic http-to-https-redirect HTTPRoute on the http listener, so HTTP
traffic to http://dashboard.example.org/ was proxied directly to the
backend with no TLS — a regression against ingress-nginx behaviour.
Pin sectionName: https so port 80 stays fully owned by the redirect route.
Assisted-By: Claude <[email protected]>
Signed-off-by: Aleksei Sviridkin <[email protected]>1 parent 06be9fb commit 476ecfc
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
0 commit comments