[bitnami/postgresql] Included networkpolicy blocks backup job from using dns #25438
Labels
postgresql
solved
tech-issues
The user has a technical issue about an application
triage
Triage is needed
Name and Version
bitnami/postgresql 15.2.5
What architecture are you using?
amd64
What steps will reproduce the bug?
After enabling the backup cronjob in the helm chart, the backup jobs always fail because they are unable to resolve the IP for the postgresql service name. This appears to be because the provided networkpolicy for the backup job only allows egress on port 5432/TCP. After deleting the network policy, the job is able to query dns again.
Are you using any custom parameters or values?
What is the expected behavior?
I would expect it to be able to query DNS as it is needed for performing the backup.
What do you see instead?
It fails after timing out.
The text was updated successfully, but these errors were encountered: