From 48c0ef2a5231df624fd913634cc402cac7de3570 Mon Sep 17 00:00:00 2001 From: Emilie RUMIANO Date: Fri, 17 Oct 2025 17:38:26 +0200 Subject: [PATCH 1/4] feat(pgbouncer): max_prepared_statements value --- charts/pgbouncer/templates/_pgbouncer.ini.tpl | 2 +- charts/pgbouncer/values.yaml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/charts/pgbouncer/templates/_pgbouncer.ini.tpl b/charts/pgbouncer/templates/_pgbouncer.ini.tpl index 43deb11..09502a1 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.settings.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..21628cf 100644 --- a/charts/pgbouncer/values.yaml +++ b/charts/pgbouncer/values.yaml @@ -39,6 +39,7 @@ settings: client_tls_ca_file: null client_tls_key_file: null client_tls_cert_file: null + max_prepared_statements: 0 extraSettings: ignore_startup_parameters: extra_float_digits From b13fdc1a4372b2f786b5490699386cbc5661e764 Mon Sep 17 00:00:00 2001 From: Emilie RUMIANO Date: Fri, 17 Oct 2025 17:41:08 +0200 Subject: [PATCH 2/4] feat(pgbouncer): max-prepared-statement in extraSettings --- charts/pgbouncer/templates/_pgbouncer.ini.tpl | 2 +- charts/pgbouncer/values.yaml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/pgbouncer/templates/_pgbouncer.ini.tpl b/charts/pgbouncer/templates/_pgbouncer.ini.tpl index 09502a1..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 = {{ .Values.settings.max_prepared_statements | default 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 21628cf..60b78ac 100644 --- a/charts/pgbouncer/values.yaml +++ b/charts/pgbouncer/values.yaml @@ -39,10 +39,11 @@ settings: client_tls_ca_file: null client_tls_key_file: null client_tls_cert_file: null - max_prepared_statements: 0 extraSettings: ignore_startup_parameters: extra_float_digits + max_prepared_statements: 0 + existingSecrets: [] # - name: my-cert-secret From 7d1ae312fdca4b2d56e02e95825af2d8db50de10 Mon Sep 17 00:00:00 2001 From: Emilie RUMIANO Date: Fri, 17 Oct 2025 17:43:19 +0200 Subject: [PATCH 3/4] chore: version bump --- charts/pgbouncer/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/pgbouncer/Chart.yaml b/charts/pgbouncer/Chart.yaml index 0d7eedb..95aab7c 100644 --- a/charts/pgbouncer/Chart.yaml +++ b/charts/pgbouncer/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: pgbouncer -version: "0.8.0" +version: "0.8.2" description: A Helm chart for Pgbouncer type: application home: https://github.com/pmint93/helm-charts From b54763c7544f50e692a7e865052fd5bd1221e074 Mon Sep 17 00:00:00 2001 From: Emilie RUMIANO Date: Fri, 17 Oct 2025 17:43:45 +0200 Subject: [PATCH 4/4] chore: version bump --- charts/pgbouncer/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/pgbouncer/Chart.yaml b/charts/pgbouncer/Chart.yaml index 95aab7c..0660196 100644 --- a/charts/pgbouncer/Chart.yaml +++ b/charts/pgbouncer/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: pgbouncer -version: "0.8.2" +version: "0.9.0" description: A Helm chart for Pgbouncer type: application home: https://github.com/pmint93/helm-charts