From 5da5a44ceac30d796bffc47c4f0be93b7f0858f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbyn=C4=9Bk=20Dr=C3=A1pela?= Date: Fri, 2 Jan 2026 17:47:42 +0100 Subject: [PATCH] feat: upgrade default PostgreSQL to v16 --- .rhdh/scripts/prepare-restricted-environment.sh | 4 ++-- .../manifests/backstage-default-config_v1_configmap.yaml | 2 +- .../manifests/backstage-operator.clusterserviceversion.yaml | 4 ++-- bundle/rhdh/manifests/rhdh-default-config_v1_configmap.yaml | 2 +- bundle/rhdh/manifests/rhdh-plugin-deps_v1_configmap.yaml | 2 +- .../profile/backstage.io/default-config/db-statefulset.yaml | 2 +- config/profile/rhdh/default-config/db-statefulset.yaml | 2 +- config/profile/rhdh/patches/deployment-patch.yaml | 2 +- config/profile/rhdh/plugin-deps/sonataflow.yaml | 2 +- dist/backstage.io/install.yaml | 2 +- dist/rhdh/install.yaml | 6 +++--- pkg/model/testdata/default-config/db-statefulset.yaml | 2 +- pkg/model/testdata/ips-db-statefulset.yaml | 2 +- pkg/model/testdata/rhdh-db-statefulset.yaml | 2 +- 14 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.rhdh/scripts/prepare-restricted-environment.sh b/.rhdh/scripts/prepare-restricted-environment.sh index 8b46b4fcd..7991aeef6 100755 --- a/.rhdh/scripts/prepare-restricted-environment.sh +++ b/.rhdh/scripts/prepare-restricted-environment.sh @@ -1135,8 +1135,8 @@ EOF spec: imageDigestMirrors: - mirrors: - - ${registry_url_internal}/rhel9/postgresql-15 - source: registry.redhat.io/rhel9/postgresql-15 + - ${registry_url_internal}/rhel9/postgresql-16 + source: registry.redhat.io/rhel9/postgresql-16 - mirrors: - ${registry_url_internal}/rhdh source: registry.redhat.io/rhdh diff --git a/bundle/backstage.io/manifests/backstage-default-config_v1_configmap.yaml b/bundle/backstage.io/manifests/backstage-default-config_v1_configmap.yaml index a7238880f..3ca11237f 100644 --- a/bundle/backstage.io/manifests/backstage-default-config_v1_configmap.yaml +++ b/bundle/backstage.io/manifests/backstage-default-config_v1_configmap.yaml @@ -84,7 +84,7 @@ data: value: /var/lib/pgsql/data - name: PGDATA value: /var/lib/pgsql/data/userdata - image: quay.io/fedora/postgresql-15:latest # will be replaced with the actual image + image: quay.io/fedora/postgresql-16:latest # will be replaced with the actual image imagePullPolicy: IfNotPresent securityContext: # runAsUser:26 does not work for Openshift but looks work for AKS/EKS diff --git a/bundle/rhdh/manifests/backstage-operator.clusterserviceversion.yaml b/bundle/rhdh/manifests/backstage-operator.clusterserviceversion.yaml index 956b9dff4..07f12129a 100644 --- a/bundle/rhdh/manifests/backstage-operator.clusterserviceversion.yaml +++ b/bundle/rhdh/manifests/backstage-operator.clusterserviceversion.yaml @@ -335,7 +335,7 @@ spec: fieldRef: fieldPath: metadata.name - name: RELATED_IMAGE_postgresql - value: quay.io/fedora/postgresql-15:latest + value: quay.io/fedora/postgresql-16:latest - name: RELATED_IMAGE_backstage value: quay.io/rhdh-community/rhdh:next - name: RELATED_IMAGE_catalog_index @@ -457,7 +457,7 @@ spec: name: Red Hat Inc. url: https://www.redhat.com/ relatedImages: - - image: quay.io/fedora/postgresql-15:latest + - image: quay.io/fedora/postgresql-16:latest name: postgresql - image: quay.io/rhdh-community/rhdh:next name: backstage diff --git a/bundle/rhdh/manifests/rhdh-default-config_v1_configmap.yaml b/bundle/rhdh/manifests/rhdh-default-config_v1_configmap.yaml index 3a7a65128..65331eed4 100644 --- a/bundle/rhdh/manifests/rhdh-default-config_v1_configmap.yaml +++ b/bundle/rhdh/manifests/rhdh-default-config_v1_configmap.yaml @@ -87,7 +87,7 @@ data: value: /var/lib/pgsql/data - name: PGDATA value: /var/lib/pgsql/data/userdata - image: quay.io/fedora/postgresql-15:latest # will be replaced with the actual image + image: quay.io/fedora/postgresql-16:latest # will be replaced with the actual image imagePullPolicy: IfNotPresent securityContext: # runAsUser:26 does not work for Openshift but looks work for AKS/EKS diff --git a/bundle/rhdh/manifests/rhdh-plugin-deps_v1_configmap.yaml b/bundle/rhdh/manifests/rhdh-plugin-deps_v1_configmap.yaml index 35f587162..b66e36697 100644 --- a/bundle/rhdh/manifests/rhdh-plugin-deps_v1_configmap.yaml +++ b/bundle/rhdh/manifests/rhdh-plugin-deps_v1_configmap.yaml @@ -93,7 +93,7 @@ data: spec: containers: - name: psql - image: quay.io/fedora/postgresql-15:latest + image: quay.io/fedora/postgresql-16:latest resources: limits: cpu: "100m" diff --git a/config/profile/backstage.io/default-config/db-statefulset.yaml b/config/profile/backstage.io/default-config/db-statefulset.yaml index 232a7b8f2..b811dac70 100644 --- a/config/profile/backstage.io/default-config/db-statefulset.yaml +++ b/config/profile/backstage.io/default-config/db-statefulset.yaml @@ -33,7 +33,7 @@ spec: value: /var/lib/pgsql/data - name: PGDATA value: /var/lib/pgsql/data/userdata - image: quay.io/fedora/postgresql-15:latest # will be replaced with the actual image + image: quay.io/fedora/postgresql-16:latest # will be replaced with the actual image imagePullPolicy: IfNotPresent securityContext: # runAsUser:26 does not work for Openshift but looks work for AKS/EKS diff --git a/config/profile/rhdh/default-config/db-statefulset.yaml b/config/profile/rhdh/default-config/db-statefulset.yaml index 232a7b8f2..b811dac70 100644 --- a/config/profile/rhdh/default-config/db-statefulset.yaml +++ b/config/profile/rhdh/default-config/db-statefulset.yaml @@ -33,7 +33,7 @@ spec: value: /var/lib/pgsql/data - name: PGDATA value: /var/lib/pgsql/data/userdata - image: quay.io/fedora/postgresql-15:latest # will be replaced with the actual image + image: quay.io/fedora/postgresql-16:latest # will be replaced with the actual image imagePullPolicy: IfNotPresent securityContext: # runAsUser:26 does not work for Openshift but looks work for AKS/EKS diff --git a/config/profile/rhdh/patches/deployment-patch.yaml b/config/profile/rhdh/patches/deployment-patch.yaml index 788c85337..12295293d 100644 --- a/config/profile/rhdh/patches/deployment-patch.yaml +++ b/config/profile/rhdh/patches/deployment-patch.yaml @@ -25,7 +25,7 @@ spec: fieldRef: fieldPath: metadata.name - name: RELATED_IMAGE_postgresql - value: quay.io/fedora/postgresql-15:latest + value: quay.io/fedora/postgresql-16:latest - name: RELATED_IMAGE_backstage value: quay.io/rhdh-community/rhdh:next - name: RELATED_IMAGE_catalog_index diff --git a/config/profile/rhdh/plugin-deps/sonataflow.yaml b/config/profile/rhdh/plugin-deps/sonataflow.yaml index f0f4fbd78..1037fe764 100644 --- a/config/profile/rhdh/plugin-deps/sonataflow.yaml +++ b/config/profile/rhdh/plugin-deps/sonataflow.yaml @@ -77,7 +77,7 @@ spec: spec: containers: - name: psql - image: quay.io/fedora/postgresql-15:latest + image: quay.io/fedora/postgresql-16:latest resources: limits: cpu: "100m" diff --git a/dist/backstage.io/install.yaml b/dist/backstage.io/install.yaml index 9678165c9..62916e2c1 100644 --- a/dist/backstage.io/install.yaml +++ b/dist/backstage.io/install.yaml @@ -1822,7 +1822,7 @@ data: value: /var/lib/pgsql/data - name: PGDATA value: /var/lib/pgsql/data/userdata - image: quay.io/fedora/postgresql-15:latest # will be replaced with the actual image + image: quay.io/fedora/postgresql-16:latest # will be replaced with the actual image imagePullPolicy: IfNotPresent securityContext: # runAsUser:26 does not work for Openshift but looks work for AKS/EKS diff --git a/dist/rhdh/install.yaml b/dist/rhdh/install.yaml index 2a48e2be7..cd364d617 100644 --- a/dist/rhdh/install.yaml +++ b/dist/rhdh/install.yaml @@ -1900,7 +1900,7 @@ data: value: /var/lib/pgsql/data - name: PGDATA value: /var/lib/pgsql/data/userdata - image: quay.io/fedora/postgresql-15:latest # will be replaced with the actual image + image: quay.io/fedora/postgresql-16:latest # will be replaced with the actual image imagePullPolicy: IfNotPresent securityContext: # runAsUser:26 does not work for Openshift but looks work for AKS/EKS @@ -2372,7 +2372,7 @@ data: spec: containers: - name: psql - image: quay.io/fedora/postgresql-15:latest + image: quay.io/fedora/postgresql-16:latest resources: limits: cpu: "100m" @@ -2923,7 +2923,7 @@ spec: fieldRef: fieldPath: metadata.name - name: RELATED_IMAGE_postgresql - value: quay.io/fedora/postgresql-15:latest + value: quay.io/fedora/postgresql-16:latest - name: RELATED_IMAGE_backstage value: quay.io/rhdh-community/rhdh:next - name: RELATED_IMAGE_catalog_index diff --git a/pkg/model/testdata/default-config/db-statefulset.yaml b/pkg/model/testdata/default-config/db-statefulset.yaml index f95020ab6..ad3441a34 100644 --- a/pkg/model/testdata/default-config/db-statefulset.yaml +++ b/pkg/model/testdata/default-config/db-statefulset.yaml @@ -24,7 +24,7 @@ spec: value: /var/lib/pgsql/data - name: PGDATA value: /var/lib/pgsql/data/userdata - image: quay.io/fedora/postgresql-15:latest + image: quay.io/fedora/postgresql-16:latest imagePullPolicy: IfNotPresent securityContext: runAsNonRoot: true diff --git a/pkg/model/testdata/ips-db-statefulset.yaml b/pkg/model/testdata/ips-db-statefulset.yaml index 462060584..f2273c999 100644 --- a/pkg/model/testdata/ips-db-statefulset.yaml +++ b/pkg/model/testdata/ips-db-statefulset.yaml @@ -18,6 +18,6 @@ spec: - name: ips-db2 automountServiceAccountToken: false containers: - - image: quay.io/fedora/postgresql-15:latest + - image: quay.io/fedora/postgresql-16:latest name: postgres diff --git a/pkg/model/testdata/rhdh-db-statefulset.yaml b/pkg/model/testdata/rhdh-db-statefulset.yaml index df262551d..da954ee8a 100644 --- a/pkg/model/testdata/rhdh-db-statefulset.yaml +++ b/pkg/model/testdata/rhdh-db-statefulset.yaml @@ -23,7 +23,7 @@ spec: value: /var/lib/pgsql/data - name: PGDATA value: /var/lib/pgsql/data/userdata - image: quay.io/fedora/postgresql-15:latest # will be replaced with the actual image + image: quay.io/fedora/postgresql-16:latest # will be replaced with the actual image imagePullPolicy: IfNotPresent securityContext: runAsNonRoot: true