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.
The current
mountPath
for the secret containing thepgbouncer
user list is incorrectly implemented.In order for the feature to work properly at present, the
auth_file
path in thepgbouncer
config must be overridden to/etc/pgbouncer/userlist/userlist.txt/userlist.txt
, because themountPath
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.