feat(keycloak): switch staging from kanidm to keycloak #633
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!633
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "feat/staging-keycloak-cutover"
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?
Refs #574, #575.
What
One switch,
kanidm_enabled(defaulttrue). Staging sets itfalse, which rehearses the prod cutover:keycloak_domain(auth.stg.bitborg.seon staging). Thekc.stgvhost is gone.oidc-source.ymlcompares the existingBitborg Authsource (only a sha256 of the secret leaves Postgres) and runsupdate-oauth --idon drift, then restarts Forgejo. Same source id, so linked accounts stay linked. Discovery under/realms/bitborg/, group claimgroups, admin groupforgejo_admins.KEYCLOAK_*(KEYCLOAK_URL=http://127.0.0.1:18080, host network). Staging pinsv2.0.0. The role refuses a v1 image when Kanidm is off.kanidm,keycloak,caddy,forgejo,reconcilerand rollback.Prod
No change while
kanidm_enabled: true.--check --diff --limit bitborg-prodshows changed=0 for kanidm, keycloak, forgejo, caddy, reconciler, web and health-check. Remaining prod-flip items are listed on #575.Staging
Applied and verified: new issuer on
auth.stg, Forgejo and portal sign-in redirect to Keycloak, billing and portal reach the admin API, Kanidm inactive with volume kept, reconciler v2 timer succeeds, health gate passes. A second--checkover all six tags shows changed=0. Tofu staging plan: no changes.Still to test by hand: Forgejo sign-in with passkey and with password plus TOTP.