This project contains a Helm chart and a Docker image for PgBouncer.
Create a my-values.yaml
file (or whatever filename you like) to add your databases and users settings.
# my-values.yaml example
deployment:
replicas: 1
databases:
mydatabase:
dbname: mydb
host: dbserver
users:
userlist:
admin: supersecure
admin_users:
- admin
config:
server_tls_sslmode: prefer
ignore_startup_parameters: extra_float_digits
In this repo:
helm install -f my-values.yaml pgbouncer ./chart
This chart was made by combinging bits and pieces from other available charts and then modifying and adding in more stuff.
Sources: