docs(runbook): keycloak operator rename, admin console forward, v17 notes #827

Sammanfogat
supernaut sammanfogade 4 incheckningar från docs/keycloak-ops-and-v17 in i main 2026-10-19 22:54:30 +00:00
Ägare

Closes #590. Refs #644 and #716.

  • KC_HOSTNAME_ADMIN=http://127.0.0.1:18080 so the admin console loads through the sshd forward. Public KC_HOSTNAME is unchanged.
  • Runbook: rename an operator account (#590).
  • Runbook: v17 section (#716). The issue stays open for the retention timer and pulls cleanup.

Keycloak's docs describe hostname-admin as the admin console base URL only, but do not state that the issuer is untouched. Staging must prove it.

Do not apply the #644 change to prod before the staging checks below pass.

Operator steps

  • Apply to staging: --tags keycloak. Keycloak restarts.
  • Forward -L 18080:127.0.0.1:18080. Open http://127.0.0.1:18080/admin/master/console/. It loads and signs in (no "3rd party check iframe" timeout).
  • curl -s https://id.stg.bitborg.se/realms/bitborg/.well-known/openid-configuration | jq .issuer equals the value before the change.
  • A bitborg realm token's iss is unchanged (Forgejo or portal sign-in works).
  • tofu plan in opentofu/keycloak through the forward still authenticates.
  • If any check fails, revert the template line and keep only the runbook note that the API works through the forward.
  • Apply to prod after staging passes.
Closes #590. Refs #644 and #716. - `KC_HOSTNAME_ADMIN=http://127.0.0.1:18080` so the admin console loads through the sshd forward. Public `KC_HOSTNAME` is unchanged. - Runbook: rename an operator account (#590). - Runbook: v17 section (#716). The issue stays open for the retention timer and `pulls` cleanup. Keycloak's docs describe `hostname-admin` as the admin console base URL only, but do not state that the issuer is untouched. Staging must prove it. Do not apply the #644 change to prod before the staging checks below pass. ## Operator steps - [ ] Apply to staging: `--tags keycloak`. Keycloak restarts. - [ ] Forward `-L 18080:127.0.0.1:18080`. Open `http://127.0.0.1:18080/admin/master/console/`. It loads and signs in (no "3rd party check iframe" timeout). - [ ] `curl -s https://id.stg.bitborg.se/realms/bitborg/.well-known/openid-configuration | jq .issuer` equals the value before the change. - [ ] A `bitborg` realm token's `iss` is unchanged (Forgejo or portal sign-in works). - [ ] `tofu plan` in `opentofu/keycloak` through the forward still authenticates. - [ ] If any check fails, revert the template line and keep only the runbook note that the API works through the forward. - [ ] Apply to prod after staging passes.
supernaut lade till 4 incheckningar 2026-10-19 19:10:29 +00:00
The console loaded its cookie-check iframe from the public host, which the edge 404s and Keycloak frames deny cross-origin. Refs #644
Lists every place an operator username is written down: Keycloak, Forgejo, the reconciler exempt list, forgejo_users, Grafana and the portal. Closes #590
Records the operational changes of the Forgejo 17 upgrade: one-way migration, tags to apply together, sign-out form, log root, mirror and webhook defaults, window pauses. Refs #716
docs(runbook): split v17 notes into current state and next bump, rewrap
Alla kontroller lyckades
ci / ci (pull_request) Successful in 10m16s
a51a457e32
Prod already runs v17, so the window steps move under the next bump. The v16 end-of-support date is dropped: it is not in the Forgejo source.
supernaut sammanfogade incheckning a71c530ce9 till main 2026-10-19 22:54:30 +00:00
supernaut tog bort grenen docs/keycloak-ops-and-v17 2026-10-19 22:54:30 +00:00
Logga in för att delta i denna konversation.
Inga granskare
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-infra!827
Ingen beskrivning angiven.