Reorganize the brownfield repository, remove retired and generated artifacts, harden ignore rules, and record the GitOps/IaC redesign.
1.8 KiB
1.8 KiB
Keycloak — RETIRED (2026-07-10)
Keycloak has been decommissioned and replaced by Authelia as the SSO / OIDC
provider (issuer https://auth.ddupan.top, backed by Samba AD via LDAP). See
../../apps/authelia/.
What was removed
- The entire
keycloakKubernetes namespace (Deployment, Service, bootstrap Job, ConfigMaps,keycloak-db-secret) —kubectl delete namespace keycloak. - A second, abandoned Keycloak in the
shared-dbnamespace (raw manifests:deploy/svc/job/cm keycloak*) that never became ready (crashlooped ~21.8k times over 82 days). Deleted the four Keycloak objects only; theshared-postgresqlCNPG tenant in that namespace was left untouched. - The
idm.ddupan.toppublic-hostname route from the cloudflared tunnel ingress (../../infrastructure/cloudflared/terraform/main.tf).idm.ddupan.topnow returns HTTP 404.
Consumers migrated
- Gitea — OIDC provider switched from
keycloaktoauthelia(../../apps/gitea/gitea-values.yaml, secretgitea-oidc-secret). Thepanxiao81account was re-linked to the Authelia source by email (ACCOUNT_LINKING=auto).
Leftovers (intentionally not cleaned up)
- Orphaned tables in the shared
postgresdatabase: Keycloak ran againstjdbc:postgresql://shared-postgresql.shared-db.svc:5432/postgresas the superuser, creating its tables in that DB'spublicschema. They are inert; dropping ~90 tables by hand was judged risky/low-value. Drop them manually if you want the DB tidy. - DNS: the
idm.ddupan.topCNAME still exists at Cloudflare (points at the tunnel, so it just hits the 404 catch-all). Remove it in the Cloudflare dash if desired; it is not managed by Terraform.
The manifests in this directory are kept for reference only. Safe to delete.