chore: remove kanidm #743

Sammanfogat
supernaut sammanfogade 5 incheckningar från chore/remove-kanidm in i main 2026-10-14 11:42:55 +00:00
Ägare

Remove Kanidm. Keycloak is the only identity provider.

  • Deletes the kanidm role, its branding and every kanidm_enabled branch (the Keycloak side stays). kanidm_domain becomes legacy_auth_domain, a permanent redirect to Keycloak. reconciler_kanidm_group_* becomes reconciler_group_*.
  • Backups no longer dump Kanidm. Verify and drill accept archives with or without the old member.
  • One-shot role kanidm-cleanup (tag kanidm-cleanup): removes the gitborg-kanidm-data volume and Quadlet file, kanidm-config, the provision secret and the drill metric. It refuses to run while the web unit still mentions Kanidm. Unused images go with the daily image prune.
  • Runbook: Kanidm operations removed; edge rate-limit and user-rename sections describe Keycloak.

Apply: full site.yml first (staging, then prod), then --tags kanidm-cleanup. The volume deletion cannot be undone.

Closes #577

Remove Kanidm. Keycloak is the only identity provider. - Deletes the kanidm role, its branding and every `kanidm_enabled` branch (the Keycloak side stays). `kanidm_domain` becomes `legacy_auth_domain`, a permanent redirect to Keycloak. `reconciler_kanidm_group_*` becomes `reconciler_group_*`. - Backups no longer dump Kanidm. Verify and drill accept archives with or without the old member. - One-shot role `kanidm-cleanup` (tag `kanidm-cleanup`): removes the `gitborg-kanidm-data` volume and Quadlet file, `kanidm-config`, the provision secret and the drill metric. It refuses to run while the web unit still mentions Kanidm. Unused images go with the daily image prune. - Runbook: Kanidm operations removed; edge rate-limit and user-rename sections describe Keycloak. Apply: full `site.yml` first (staging, then prod), then `--tags kanidm-cleanup`. The volume deletion cannot be undone. Closes #577
supernaut lade till 4 incheckningar 2026-10-14 11:16:39 +00:00
Delete the kanidm role, its variables, vault keys, branding assets,
backup dump, drill restore, monitoring and Caddy vhost. The old auth
name stays as a permanent redirect to Keycloak (legacy_auth_domain).
Backup verify still accepts archives with a Kanidm member, and the
drill ignores it.

Add the one-shot kanidm-cleanup role (tag kanidm-cleanup). It removes
the leftover volume, volume Quadlet, config dir, images and web
provision-token secret. Delete it after prod and staging have run it.

Closes #577
The image filter missed docker.io/kanidm/server and matched any image whose
name or tag contained kanidm. The daily image prune already removes the
images now that they left the keep list.

A tag-only run before web is applied would delete the chain.pem the old web
unit mounts, so the next web restart would fail. The role now stops first.
docs(runbook): describe the keycloak rate-limit zones and the rename call
Alla kontroller lyckades
ci / ci (pull_request) Successful in 3m11s
4554777bf0
supernaut lade till 1 incheckning 2026-10-14 11:39:06 +00:00
Merge remote-tracking branch 'origin/main' into chore/remove-kanidm
Alla kontroller lyckades
ci / ci (pull_request) Successful in 3m13s
465a6ffd1b
# Conflicts:
#	ansible/roles/backup/templates/bitborg-backup-hot.sh.j2
#	ansible/roles/backup/templates/bitborg-backup-verify.sh.j2
#	ansible/roles/backup/templates/bitborg-backup.sh.j2
#	docs/runbook.md
supernaut schemalade den här ändringsförfrågan för automatisk sammanfogning när alla kontroller lyckas 2026-10-14 11:39:22 +00:00
supernaut avbröt automatisk sammanfogning av den här ändringsförfrågan när alla kontroller lyckas 2026-10-14 11:40:56 +00:00
supernaut schemalade den här ändringsförfrågan för automatisk sammanfogning när alla kontroller lyckas 2026-10-14 11:41:02 +00:00
supernaut sammanfogade incheckning cf010778c9 till main 2026-10-14 11:42:55 +00:00
supernaut tog bort grenen chore/remove-kanidm 2026-10-14 11:42:56 +00:00
supernaut refererade denna ändringsförfrågan från en incheckning 2026-10-14 11:42:56 +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!743
Ingen beskrivning angiven.