fix: add basketball-api network policy to terraform with self + westside-contracts ingress #270
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
ldraney/pal-e-platform#270
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Type
Bug
Lineage
Standalone — discovered during contract email send session (2026-04-05).
Repo
forgejo_admin/pal-e-platformWhat Broke
tofu applycreated adefault-deny-ingressNetworkPolicy on the basketball-api namespace that only allowed ingress fromtailscaleandmonitoring. This blocked:ECONNREFUSED 10.43.53.53:5432)Result: basketball-api CrashLoopBackOff, westside-contracts contract pages returning 500.
Repro Steps
tofu applyon pal-e-platform (applies network-policies.tf)https://westside-contracts.tail5b443a.ts.net/contract/{token}connect ECONNREFUSEDto postgresExpected Behavior
basketball-api app pod should reach postgres pod within the same namespace. westside-contracts should reach basketball-api postgres cross-namespace. Both should work after
tofu apply.Environment
tofu applyAcceptance Criteria
terraform/network-policies.tfhas anetpol_basketball_apiresourcetofu applydoes not break basketball-api→postgres connectivityRelated
pal-e-platform— this repowestside-basketball— affected projectsop-network-security— network policy SOPScope Review: READY
Review note:
review-843-2026-04-03Ticket is fully scoped, file target verified, single-file fix following established patterns. Ready for agent dispatch.
story:PLAT-S1is not a recognized story key onproject-pal-e-platform. Consider changing tostory:superuser-deploy.Agent picked up this ticket.