Deploy Keycloak IdP to cluster (Phase 5a) #34
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-platform!34
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "32-deploy-keycloak-idp-to-cluster-phase-5a"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
keycloak.tail5b443a.ts.netChanges
terraform/main.tf-- Added 3 new resources:kubernetes_namespace_v1.keycloak,helm_release.keycloak(Bitnami OCI chart v25.2.0),kubernetes_ingress_v1.keycloak_funnelwith Tailscale funnel annotation and depends_on for tailscale_operator + ACLterraform/variables.tf-- Addedkeycloak_admin_passwordvariable (sensitive, type string, min 8 chars validation)terraform/outputs.tf-- Addedkeycloak_urloutputTest Plan
tofu fmt -checkpassestofu validatepasses (Success! The configuration is valid.)tofu planwith full secrets shows exactly 3 new resources (namespace, helm_release, ingress)tofu apply-- Keycloak and PostgreSQL pods start inkeycloaknamespacehttps://keycloak.tail5b443a.ts.net-- admin console loadsReview Checklist
Related
plan-2026-03-08-tryout-prep(Phase 5a)PR #34 Review
BLOCKERS
None. The code is correct and follows all established patterns in the codebase.
NITS
Missing
tofu planoutput in PR body. The repo's ownCLAUDE.mdstates: "Includetofu planoutput for any Terraform changes." The.github/PULL_REQUEST_TEMPLATE.mdhas a dedicated section for this. The PR's Test Plan shows thetofu plancheckbox as unchecked. This is non-blocking sincetofu fmtandtofu validateboth passed, and the diff is straightforward (3 additive resources, 0 modifications), but the plan output should be included for completeness per repo conventions.PR body deviates from repo PR template. The PR uses
## Changes/## Test Plan/## Relatedsections instead of the repo template's## Discovered Scope/## Terraform Changes/## README Impactsections. This is a minor structural mismatch. The content is all present and thorough -- just organized differently than the template prescribes.Built-in PostgreSQL vs. CNPG. The platform has an established pattern of using CNPG for Postgres (architectural consensus: "Apps own their postgres via CNPG Cluster CR"). The Bitnami subchart Postgres is reasonable for Phase 5a (infra-only), but Phase 5b or beyond should consider migrating to CNPG for consistency. This is a future consideration, not a blocker for this PR.
SOP COMPLIANCE
32-deploy-keycloak-idp-to-cluster-phase-5a)plan-2026-03-08-tryout-prep) andCloses #32.gitignorecovers.tfvars,.env, secrets/)set_sensitivewithtype = "string"used for password (matches platform convention)sensitive = trueand length validation (matches Harbor/MinIO pattern)tofu planoutput not included in PR body (repo convention)VERDICT: APPROVED