feat(keycloak): publish keycloak on the host-only address #677
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra!677
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "feat/keycloak-isolation-3"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Keycloak still runs as the shared service user. This also publishes it on the host-only address
10.90.0.1(:8080and:9000) and points Caddy, the portal and billing (keycloak_internal_url) and vmagent at it. It proves the cross-user network path on staging before Keycloak moves to thebitborg-iduser. Part of #670.127.0.0.1:18080for the admin forward, the reconciler and the health gate (ADR 0015).KC_PROXY_TRUSTED_ADDRESSESstays thebitborgsubnet.bitborg-id-datasubnet is pinned at10.89.11.0/24. A host that already has the network needs a one-time recreate (runbook, "Keycloak on the host-only address"). Nothing is attached to it yet.podmanrole from #661 applied first, so the address exists before Keycloak binds to it.Restart=alwaysretries.Not in this PR: the user move, its own Postgres, unit metrics, backups.
Verification:
--check --diffon staging shows only the expected changes (it also picks up #666 and #672, not yet applied on staging).up{job="keycloak"}, sign-in, sign-up, a billing tier write, and the real client IP in the Keycloak login event.Apply order: tags
podman,keycloak,web,billing,caddy,monitoring-agent. Keycloak restarts once (1 to 2 minutes of sign-in downtime).Refs #670
6229aad1fda81e3a94a0