Add paldocs to Postgres NetworkPolicy allowlist #397
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#397
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
Discovered during paldocs deployment investigation. paldocs was onboarded via pal-e-services Terraform but the NetworkPolicy update in pal-e-platform was missed.
Repo
ldraney/pal-e-platformWhat Broke
paldocs pod crashes with
PG::ConnectionBad: connection refusedwhen trying to reach Postgres. Thepaldocsnamespace is not in thedefault-deny-ingressNetworkPolicy allowlist for thepostgresnamespace interraform/network-policies.tf.Repro Steps
paldocsnamespacepal-e-postgres-rw.postgres.svc.cluster.local:5432paldocsnamespaceExpected Behavior
paldocs namespace should be in the Postgres NetworkPolicy allowlist, same as other services that connect to the shared paledocs database (pal-e-docs, pal-e-ror, palinks, etc.).
Environment
default-deny-ingressinpostgresnamespacekubernetes_manifest.netpol_postgresinnetwork-policies.tfAcceptance Criteria
paldocsadded tonetpol_postgresingress rules innetwork-policies.tftofu planshows only the expected netpol diffRelated