diff --git a/charts/pgbouncer/Chart.yaml b/charts/pgbouncer/Chart.yaml index d7da1b8..0660196 100644 --- a/charts/pgbouncer/Chart.yaml +++ b/charts/pgbouncer/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: pgbouncer -version: "0.8.1" +version: "0.9.0" description: A Helm chart for Pgbouncer type: application home: https://github.com/pmint93/helm-charts diff --git a/charts/pgbouncer/templates/_pgbouncer.ini.tpl b/charts/pgbouncer/templates/_pgbouncer.ini.tpl index 43deb11..5cb55e5 100644 --- a/charts/pgbouncer/templates/_pgbouncer.ini.tpl +++ b/charts/pgbouncer/templates/_pgbouncer.ini.tpl @@ -173,7 +173,7 @@ pool_mode = {{ .Values.settings.pool_mode | default "session" }} ;; Number of prepared statements to cache on a server connection (zero value ;; disables support of prepared statements). -;max_prepared_statements = 0 +max_prepared_statements = {{ .Values.extraSettings.max_prepared_statements | default 0 }} ;; Query for cleaning connection immediately after releasing from ;; client. No need to put ROLLBACK here, pgbouncer does not reuse diff --git a/charts/pgbouncer/values.yaml b/charts/pgbouncer/values.yaml index 18b8bb5..60b78ac 100644 --- a/charts/pgbouncer/values.yaml +++ b/charts/pgbouncer/values.yaml @@ -42,6 +42,8 @@ settings: extraSettings: ignore_startup_parameters: extra_float_digits + max_prepared_statements: 0 + existingSecrets: [] # - name: my-cert-secret