Add westside-admin to basketball-api network policy (declarative) #354
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#354
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
Repo
ldraney/pal-e-platform
What Broke
westside-admin pod could not connect to Postgres at
postgres.basketball-api.svc.cluster.local:5432. Thebasketball-apinamespace NetworkPolicy allows ingress from tailscale, basketball-api, westside-contracts, westside-ai-assistant, and monitoring — but notwestside-admin.Quick-fixed manually:
kubectl applyto addwestside-adminnamespace to the allow list. This is ephemeral — nexttofu applywill revert it.Repro Steps
/playersrouteECONNREFUSEDon port 5432Expected Behavior
westside-admin namespace is in the basketball-api NetworkPolicy ingress allow list, managed declaratively via Terraform.
Acceptance Criteria
terraform/network-policies.tfincludeswestside-adminin the basketball-api namespace allow listtofu planshows the policy changetofu applysucceedsEnvironment
k3s cluster, basketball-api namespace, NetworkPolicy
default-deny-ingressRelated