timescale / helm-charts

Configuration and Documentation to run TimescaleDB in your Kubernetes cluster
Apache License 2.0
264 stars 223 forks source link

pgbouncer userlist.txt mountPath correction #391

Closed con5cience closed 2 years ago

con5cience commented 2 years ago

The current mountPath for the secret containing the pgbouncer user list is incorrectly implemented.

In order for the feature to work properly at present, the auth_file path in the pgbouncer config must be overridden to /etc/pgbouncer/userlist/userlist.txt/userlist.txt, because the mountPath is mounted as a directory and not a file.

This PR aligns the mount path with the expected location for the userlist.txt as configured by this Helm chart, and given the object layout in this testing file.