File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11apiVersion : v2
22name : pgbouncer
3- version : " 0.7.1 "
3+ version : " 0.8.0 "
44description : A Helm chart for Pgbouncer
55type : application
66home : https://github.com/pmint93/helm-charts
Original file line number Diff line number Diff line change @@ -233,8 +233,9 @@ reserve_pool_size = {{ .Values.connectionLimits.reserve_pool_size }}
233233reserve_pool_timeout = {{ .Values.connectionLimits.reserve_pool_timeout }}
234234
235235;; Maximum number of server connections for a database
236- ;max_db_connections = 0
237-
236+ {{- if .Values.connectionLimits.max_db_connections }}
237+ max_db_connections = {{ .Values.connectionLimits.max_db_connections }}
238+ {{- end }}
238239;; Maximum number of server connections for a user
239240;max_user_connections = 0
240241
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ users: []
1212 # # max_user_connections: 100
1313
1414connectionLimits :
15+ # max_db_connections: 200
1516 max_client_conn : 200
1617 default_pool_size : 20
1718 min_pool_size : 15
You can’t perform that action at this time.
0 commit comments