This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 55f421bcff Upgrade bitnami/postgresql subchart to 13.2.24 (#36156)
55f421bcff is described below

commit 55f421bcff14aa44f53e24bf4441ff581c4412b3
Author: Denis Krivenko <[email protected]>
AuthorDate: Thu Dec 21 21:59:54 2023 +0100

    Upgrade bitnami/postgresql subchart to 13.2.24 (#36156)
---
 chart/Chart.lock                          |   6 +++---
 chart/Chart.yaml                          |   2 +-
 chart/charts/postgresql-12.10.0.tgz       | Bin 61605 -> 0 bytes
 chart/charts/postgresql-13.2.24.tgz       | Bin 0 -> 63240 bytes
 chart/newsfragments/34817.significant.rst |   8 ++++++++
 chart/values.schema.json                  |  14 +-------------
 chart/values.yaml                         |   4 +---
 helm_tests/other/test_pgbouncer.py        |   2 +-
 8 files changed, 15 insertions(+), 21 deletions(-)

diff --git a/chart/Chart.lock b/chart/Chart.lock
index 8e99c4bdc7..b214f5553d 100644
--- a/chart/Chart.lock
+++ b/chart/Chart.lock
@@ -1,6 +1,6 @@
 dependencies:
 - name: postgresql
   repository: https://charts.bitnami.com/bitnami
-  version: 12.10.0
-digest: sha256:731562ef1f62ee687121df2d44ff8131a73aa63841f6cac858c30748ad349d55
-generated: "2023-08-25T13:23:48.02337-06:00"
+  version: 13.2.24
+digest: sha256:07f12ed410f106bf13eca69df16a1ef6690c4d4bfcb037943bbff6e71a22201d
+generated: "2023-12-09T17:23:53.209725+01:00"
diff --git a/chart/Chart.yaml b/chart/Chart.yaml
index 64cfb728ca..a53b02204b 100644
--- a/chart/Chart.yaml
+++ b/chart/Chart.yaml
@@ -34,7 +34,7 @@ keywords:
   - scheduler
 dependencies:
   - name: postgresql
-    version: 12.10.0
+    version: 13.2.24
     repository: https://charts.bitnami.com/bitnami
     condition: postgresql.enabled
 maintainers:
diff --git a/chart/charts/postgresql-12.10.0.tgz 
b/chart/charts/postgresql-12.10.0.tgz
deleted file mode 100644
index 0946bad2f0..0000000000
Binary files a/chart/charts/postgresql-12.10.0.tgz and /dev/null differ
diff --git a/chart/charts/postgresql-13.2.24.tgz 
b/chart/charts/postgresql-13.2.24.tgz
new file mode 100644
index 0000000000..7f7b97a809
Binary files /dev/null and b/chart/charts/postgresql-13.2.24.tgz differ
diff --git a/chart/newsfragments/34817.significant.rst 
b/chart/newsfragments/34817.significant.rst
new file mode 100644
index 0000000000..88fb1f44e5
--- /dev/null
+++ b/chart/newsfragments/34817.significant.rst
@@ -0,0 +1,8 @@
+The helm chart is now using a newer version of ``bitnami/postgresql`` 
dependency
+
+The version of ``bitnami/postgresql`` subchart upgraded from ``12.10.0`` to 
``13.2.24``.
+The version of ``PostgreSQL`` binaries upgraded from ``11`` to ``16.1.0``.
+
+The change requires existing ``bitnami/postgresql`` subchart users to perform 
manual major version upgrade using ``pg_dumpall`` or ``pg_upgrade``.
+
+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.
diff --git a/chart/values.schema.json b/chart/values.schema.json
index 9a83a9fc24..41501484bc 100644
--- a/chart/values.schema.json
+++ b/chart/values.schema.json
@@ -5890,7 +5890,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",
@@ -6965,18 +6965,6 @@
                     "type": "boolean",
                     "default": true
                 },
-                "images": {
-                    "description": "PostgreSQL image values.",
-                    "type": "object",
-                    "additionalProperties": true,
-                    "properties": {
-                        "tag": {
-                            "description": "The PostgreSQL image tag.",
-                            "type": "string",
-                            "default": "11"
-                        }
-                    }
-                },
                 "auth": {
                     "description": "PostgreSQL authentication values.",
                     "type": "object",
diff --git a/chart/values.yaml b/chart/values.yaml
index 7902272ddc..e0ac00f071 100644
--- a/chart/values.yaml
+++ b/chart/values.yaml
@@ -1895,7 +1895,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
@@ -2277,8 +2277,6 @@ cleanup:
 # Not recommended for production
 postgresql:
   enabled: true
-  image:
-    tag: "11"
   auth:
     enablePostgresUser: true
     postgresPassword: postgres
diff --git a/helm_tests/other/test_pgbouncer.py 
b/helm_tests/other/test_pgbouncer.py
index 617bd44a01..c3a5b99d7b 100644
--- a/helm_tests/other/test_pgbouncer.py
+++ b/helm_tests/other/test_pgbouncer.py
@@ -487,7 +487,7 @@ class TestPgbouncerConfig:
         }
         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):

Reply via email to