Skip to content

feat(tb-dev): SecurityGroupPolicy assigning the Neon-client pod SG to keycloak#3

Merged
aatchison merged 1 commit into
mainfrom
tb-dev-keycloak-pod-sgp
Jun 22, 2026
Merged

feat(tb-dev): SecurityGroupPolicy assigning the Neon-client pod SG to keycloak#3
aatchison merged 1 commit into
mainfrom
tb-dev-keycloak-pod-sgp

Conversation

@aatchison

Copy link
Copy Markdown
Contributor

Summary

Assigns a SecurityGroupPolicy to the keycloak-customer pods (tb-dev) so they reach Neon over the shared stalwart-neondb-privatelink endpoint. The endpoint SG only admits allowlisted client SGs on 5432; platform-infrastructure #569 created the dedicated pod SG (sg-082f60c7858dfadb9) and opened the paths. Under strict pod-SG mode the policy's SGs replace the node SG, so both are listed:

  • sg-07624df6ceb8865ec — EKS control-plane cluster SG
  • sg-082f60c7858dfadb9mzla-tb-dev-keycloak-customer-pod (Neon PrivateLink client)

Effect on merge

ArgoCD applies the policy → the dev keycloak pods recreate with the pod SG (brief rolling restart). They still reach the dev RDS (its SG allows the VPC CIDR) and gain Neon reachability — which then unblocks the realm backup/restore (and later the repoint to Neon).

Part of #132.

🤖 Generated with Claude Code

… keycloak

Assigns [EKS control-plane cluster SG, mzla-tb-dev-keycloak-customer-pod SG] to
the keycloak-customer pods so they reach Neon over the stalwart-neondb-privatelink
endpoint (its SG admits only allowlisted client SGs on 5432). Under strict pod-SG
mode the listed SGs replace the node SG; both are required. Pod SG id
sg-082f60c7858dfadb9 from the mzla-tb-dev pulumi output keycloak_customer_pod_sg_id
(platform-infrastructure #569).

Applying recreates the dev keycloak pods with the pod SG (brief rolling restart);
they still reach the dev RDS (SG allows the VPC CIDR) and gain Neon reachability.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@aatchison aatchison merged commit d6a0b06 into main Jun 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant