From ecc0c801c3699ffe9632468b04e169cf27adac37 Mon Sep 17 00:00:00 2001 From: dnskr Date: Sat, 28 Jan 2023 18:50:07 +0100 Subject: [PATCH] Fix bitnami/postgresql subchart upgrade --- chart/values.schema.json | 2 +- chart/values.yaml | 2 +- tests/charts/test_pgbouncer.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/chart/values.schema.json b/chart/values.schema.json index 68ebf5d70fd36..90cb642c6c10e 100644 --- a/chart/values.schema.json +++ b/chart/values.schema.json @@ -4422,7 +4422,7 @@ "auth_type": { "description": "Method of authenticating users", "type": "string", - "default": "md5" + "default": "scram-sha-256" }, "auth_file": { "description": "The name of the file to load user names and passwords from", diff --git a/chart/values.yaml b/chart/values.yaml index d2aa91cb8a454..df0615e725eeb 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -1428,7 +1428,7 @@ pgbouncer: command: ["pgbouncer", "-u", "nobody", "/etc/pgbouncer/pgbouncer.ini"] # Args to use for PgBouncer(templated). args: ~ - auth_type: md5 + auth_type: scram-sha-256 auth_file: /etc/pgbouncer/users.txt # annotations to be added to the PgBouncer deployment diff --git a/tests/charts/test_pgbouncer.py b/tests/charts/test_pgbouncer.py index 901ea71d48710..beec45b1f69ef 100644 --- a/tests/charts/test_pgbouncer.py +++ b/tests/charts/test_pgbouncer.py @@ -469,7 +469,7 @@ def test_auth_type_file_defaults(self): } ini = self._get_pgbouncer_ini(values) - assert "auth_type = md5" in ini + assert "auth_type = scram-sha-256" in ini assert "auth_file = /etc/pgbouncer/users.txt" in ini def test_auth_type_file_overrides(self):