mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-08 21:14:56 +09:00
When ingress.adminHost is set, narrow the public (login) route to the OIDC paths only (/realms, /resources, /.well-known) so the admin console and Administration REST API are no longer served on the login hostname, and serve them from a dedicated admin route instead. The admin route attaches to the Gateway/ingressClass selected by _cluster.expose-ingress-admin (defaults to expose-ingress), so it can be moved onto a separate, e.g. private, Gateway. KC_HOSTNAME_ADMIN alone is not a security boundary; the path and network separation here is what restricts access. Assisted-By: Claude AI Signed-off-by: Kirill Ilin <stitch14@yandex.ru>