Skip to content

Commit 55f421b

Browse files
authored
Upgrade bitnami/postgresql subchart to 13.2.24 (apache#36156)
1 parent f84eb2a commit 55f421b

File tree

8 files changed

+15
-21
lines changed

8 files changed

+15
-21
lines changed

chart/Chart.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: postgresql
33
repository: https://charts.bitnami.com/bitnami
4-
version: 12.10.0
5-
digest: sha256:731562ef1f62ee687121df2d44ff8131a73aa63841f6cac858c30748ad349d55
6-
generated: "2023-08-25T13:23:48.02337-06:00"
4+
version: 13.2.24
5+
digest: sha256:07f12ed410f106bf13eca69df16a1ef6690c4d4bfcb037943bbff6e71a22201d
6+
generated: "2023-12-09T17:23:53.209725+01:00"

chart/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ keywords:
3434
- scheduler
3535
dependencies:
3636
- name: postgresql
37-
version: 12.10.0
37+
version: 13.2.24
3838
repository: https://charts.bitnami.com/bitnami
3939
condition: postgresql.enabled
4040
maintainers:

chart/charts/postgresql-12.10.0.tgz

-60.2 KB
Binary file not shown.

chart/charts/postgresql-13.2.24.tgz

61.8 KB
Binary file not shown.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
The helm chart is now using a newer version of ``bitnami/postgresql`` dependency
2+
3+
The version of ``bitnami/postgresql`` subchart upgraded from ``12.10.0`` to ``13.2.24``.
4+
The version of ``PostgreSQL`` binaries upgraded from ``11`` to ``16.1.0``.
5+
6+
The change requires existing ``bitnami/postgresql`` subchart users to perform manual major version upgrade using ``pg_dumpall`` or ``pg_upgrade``.
7+
8+
As a reminder, it is recommended to `set up an external database <https://airflow.apache.org/docs/helm-chart/stable/production-guide.html#database>`_ in production.

chart/values.schema.json

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5890,7 +5890,7 @@
58905890
"auth_type": {
58915891
"description": "Method of authenticating users",
58925892
"type": "string",
5893-
"default": "md5"
5893+
"default": "scram-sha-256"
58945894
},
58955895
"auth_file": {
58965896
"description": "The name of the file to load user names and passwords from",
@@ -6965,18 +6965,6 @@
69656965
"type": "boolean",
69666966
"default": true
69676967
},
6968-
"images": {
6969-
"description": "PostgreSQL image values.",
6970-
"type": "object",
6971-
"additionalProperties": true,
6972-
"properties": {
6973-
"tag": {
6974-
"description": "The PostgreSQL image tag.",
6975-
"type": "string",
6976-
"default": "11"
6977-
}
6978-
}
6979-
},
69806968
"auth": {
69816969
"description": "PostgreSQL authentication values.",
69826970
"type": "object",

chart/values.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1895,7 +1895,7 @@ pgbouncer:
18951895
command: ["pgbouncer", "-u", "nobody", "/etc/pgbouncer/pgbouncer.ini"]
18961896
# Args to use for PgBouncer(templated).
18971897
args: ~
1898-
auth_type: md5
1898+
auth_type: scram-sha-256
18991899
auth_file: /etc/pgbouncer/users.txt
19001900

19011901
# annotations to be added to the PgBouncer deployment
@@ -2277,8 +2277,6 @@ cleanup:
22772277
# Not recommended for production
22782278
postgresql:
22792279
enabled: true
2280-
image:
2281-
tag: "11"
22822280
auth:
22832281
enablePostgresUser: true
22842282
postgresPassword: postgres

helm_tests/other/test_pgbouncer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ def test_auth_type_file_defaults(self):
487487
}
488488
ini = self._get_pgbouncer_ini(values)
489489

490-
assert "auth_type = md5" in ini
490+
assert "auth_type = scram-sha-256" in ini
491491
assert "auth_file = /etc/pgbouncer/users.txt" in ini
492492

493493
def test_auth_type_file_overrides(self):

0 commit comments

Comments
 (0)