Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion chart/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/charts/test_pgbouncer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down