From 6cf8e808f1abe1ab157c88d6abf26916b5270e53 Mon Sep 17 00:00:00 2001 From: postgres-versions-updater Date: Sat, 21 Feb 2026 00:50:22 +0000 Subject: [PATCH] feat: update default PostgreSQL version to 18.2-system-trixie Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .github/pg_versions.json | 20 ++++++++++---------- docs/src/bootstrap.md | 10 +++++----- docs/src/declarative_hibernation.md | 2 +- docs/src/image_catalog.md | 4 ++-- docs/src/index.md | 2 +- docs/src/kubectl-plugin.md | 4 ++-- docs/src/monitoring.md | 2 +- docs/src/postgis.md | 4 ++-- docs/src/samples/cluster-example-full.yaml | 2 +- docs/src/samples/postgis-example.yaml | 2 +- docs/src/scheduling.md | 2 +- docs/src/ssl_connections.md | 2 +- docs/src/troubleshooting.md | 4 ++-- pkg/versions/versions.go | 2 +- 14 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.github/pg_versions.json b/.github/pg_versions.json index cf6e944691..808727801a 100644 --- a/.github/pg_versions.json +++ b/.github/pg_versions.json @@ -1,23 +1,23 @@ { "18": [ - "18.1-system-trixie", - "18.0-system-trixie" + "18.2-system-trixie", + "18.1-system-trixie" ], "17": [ - "17.7-system-trixie", - "17.6-system-trixie" + "17.8-system-trixie", + "17.7-system-trixie" ], "16": [ - "16.11-system-trixie", - "16.10-system-trixie" + "16.12-system-trixie", + "16.11-system-trixie" ], "15": [ - "15.15-system-trixie", - "15.14-system-trixie" + "15.16-system-trixie", + "15.15-system-trixie" ], "14": [ - "14.20-system-trixie", - "14.19-system-trixie" + "14.21-system-trixie", + "14.20-system-trixie" ], "13": [ "13.22-system-trixie", diff --git a/docs/src/bootstrap.md b/docs/src/bootstrap.md index 79eb0172ca..8d2cb76faa 100644 --- a/docs/src/bootstrap.md +++ b/docs/src/bootstrap.md @@ -614,7 +614,7 @@ file on the source PostgreSQL instance: host replication streaming_replica all md5 ``` -The following manifest creates a new PostgreSQL 18.1 cluster, +The following manifest creates a new PostgreSQL 18.2 cluster, called `target-db`, using the `pg_basebackup` bootstrap method to clone an external PostgreSQL cluster defined as `source-db` (in the `externalClusters` array). As you can see, the `source-db` @@ -629,7 +629,7 @@ metadata: name: target-db spec: instances: 3 - imageName: ghcr.io/cloudnative-pg/postgresql:18.1-system-trixie + imageName: ghcr.io/cloudnative-pg/postgresql:18.2-system-trixie bootstrap: pg_basebackup: @@ -649,7 +649,7 @@ spec: ``` All the requirements must be met for the clone operation to work, including -the same PostgreSQL version (in our case 18.1). +the same PostgreSQL version (in our case 18.2). #### TLS certificate authentication @@ -665,7 +665,7 @@ in the same Kubernetes cluster. outside the Kubernetes cluster. ::: -The manifest defines a new PostgreSQL 18.1 cluster called `cluster-clone-tls`, +The manifest defines a new PostgreSQL 18.2 cluster called `cluster-clone-tls`, which is bootstrapped using the `pg_basebackup` method from the `cluster-example` external cluster. The host is identified by the read/write service in the same cluster, while the `streaming_replica` user is authenticated @@ -680,7 +680,7 @@ metadata: name: cluster-clone-tls spec: instances: 3 - imageName: ghcr.io/cloudnative-pg/postgresql:18.1-system-trixie + imageName: ghcr.io/cloudnative-pg/postgresql:18.2-system-trixie bootstrap: pg_basebackup: diff --git a/docs/src/declarative_hibernation.md b/docs/src/declarative_hibernation.md index 1ef2a0266e..b23665fb46 100644 --- a/docs/src/declarative_hibernation.md +++ b/docs/src/declarative_hibernation.md @@ -57,7 +57,7 @@ $ kubectl cnpg status Cluster Summary Name: cluster-example Namespace: default -PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:18.1-system-trixie +PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:18.2-system-trixie Primary instance: cluster-example-2 Status: Cluster in healthy state Instances: 3 diff --git a/docs/src/image_catalog.md b/docs/src/image_catalog.md index 831b0a1eaf..e46ded9361 100644 --- a/docs/src/image_catalog.md +++ b/docs/src/image_catalog.md @@ -44,7 +44,7 @@ spec: - major: 17 image: ghcr.io/cloudnative-pg/postgresql:17.6-system-trixie - major: 18 - image: ghcr.io/cloudnative-pg/postgresql:18.1-system-trixie + image: ghcr.io/cloudnative-pg/postgresql:18.2-system-trixie ``` **Example of a Cluster-Wide Catalog using `ClusterImageCatalog` Resource:** @@ -63,7 +63,7 @@ spec: - major: 17 image: ghcr.io/cloudnative-pg/postgresql:17.6-system-trixie - major: 18 - image: ghcr.io/cloudnative-pg/postgresql:18.1-system-trixie + image: ghcr.io/cloudnative-pg/postgresql:18.2-system-trixie ``` A `Cluster` resource has the flexibility to reference either an `ImageCatalog` diff --git a/docs/src/index.md b/docs/src/index.md index 40660060d8..100d337063 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -99,7 +99,7 @@ Three image flavors are available, each extending the previous one: Barman Cloud plugin, or another supported backup solution. ::: -By default, this version of CloudNativePG deploys `ghcr.io/cloudnative-pg/postgresql:18.1-system-trixie`. +By default, this version of CloudNativePG deploys `ghcr.io/cloudnative-pg/postgresql:18.2-system-trixie`. All images are signed and shipped with SBOM and provenance attestations. Weekly automated builds ensure that critical vulnerabilities (CVEs) are promptly fixed. diff --git a/docs/src/kubectl-plugin.md b/docs/src/kubectl-plugin.md index 8c6740d6f2..c983bb3f89 100644 --- a/docs/src/kubectl-plugin.md +++ b/docs/src/kubectl-plugin.md @@ -1078,7 +1078,7 @@ it from the actual pod. This means that you will be using the `postgres` user. ```console $ kubectl cnpg psql cluster-example -psql (18.1 (Debian 18.1-1.pgdg110+1)) +psql (18.2 (Debian 18.2-1.pgdg110+1)) Type "help" for help. postgres=# @@ -1090,7 +1090,7 @@ select to work against a replica by using the `--replica` option: ```console $ kubectl cnpg psql --replica cluster-example -psql (18.1 (Debian 18.1-1.pgdg110+1)) +psql (18.2 (Debian 18.2-1.pgdg110+1)) Type "help" for help. diff --git a/docs/src/monitoring.md b/docs/src/monitoring.md index ad0a2e79ef..7d6937ec40 100644 --- a/docs/src/monitoring.md +++ b/docs/src/monitoring.md @@ -258,7 +258,7 @@ cnpg_collector_up{cluster="cluster-example"} 1 # HELP cnpg_collector_postgres_version Postgres version # TYPE cnpg_collector_postgres_version gauge -cnpg_collector_postgres_version{cluster="cluster-example",full="18.1"} 18.1 +cnpg_collector_postgres_version{cluster="cluster-example",full="18.2"} 18.2 # HELP cnpg_collector_last_failed_backup_timestamp The last failed backup as a unix timestamp (Deprecated) # TYPE cnpg_collector_last_failed_backup_timestamp gauge diff --git a/docs/src/postgis.md b/docs/src/postgis.md index 0883ad5d96..b096046f2d 100644 --- a/docs/src/postgis.md +++ b/docs/src/postgis.md @@ -70,7 +70,7 @@ kind: Cluster metadata: name: cluster-postgis spec: - imageName: ghcr.io/cloudnative-pg/postgresql:18.1-minimal-trixie + imageName: ghcr.io/cloudnative-pg/postgresql:18.2-minimal-trixie instances: 1 storage: @@ -112,7 +112,7 @@ metadata: name: cluster-postgis spec: instances: 1 - imageName: ghcr.io/cloudnative-pg/postgis:18.1-3.6.2-system-trixie + imageName: ghcr.io/cloudnative-pg/postgis:18.2-3.6.2-system-trixie storage: size: 1Gi ``` diff --git a/docs/src/samples/cluster-example-full.yaml b/docs/src/samples/cluster-example-full.yaml index 0202401186..8c665b6717 100644 --- a/docs/src/samples/cluster-example-full.yaml +++ b/docs/src/samples/cluster-example-full.yaml @@ -35,7 +35,7 @@ metadata: name: cluster-example-full spec: description: "Example of cluster" - imageName: ghcr.io/cloudnative-pg/postgresql:18.1-system-trixie + imageName: ghcr.io/cloudnative-pg/postgresql:18.2-system-trixie # imagePullSecret is only required if the images are located in a private registry # imagePullSecrets: # - name: private_registry_access diff --git a/docs/src/samples/postgis-example.yaml b/docs/src/samples/postgis-example.yaml index 9663d0fb00..066bda4744 100644 --- a/docs/src/samples/postgis-example.yaml +++ b/docs/src/samples/postgis-example.yaml @@ -3,7 +3,7 @@ kind: Cluster metadata: name: postgis-example spec: - imageName: ghcr.io/cloudnative-pg/postgresql:18.1-minimal-trixie + imageName: ghcr.io/cloudnative-pg/postgresql:18.2-minimal-trixie instances: 1 storage: diff --git a/docs/src/scheduling.md b/docs/src/scheduling.md index 3bb12fcd79..d0ee920207 100644 --- a/docs/src/scheduling.md +++ b/docs/src/scheduling.md @@ -48,7 +48,7 @@ metadata: name: cluster-example spec: instances: 3 - imageName: ghcr.io/cloudnative-pg/postgresql:18.1-system-trixie + imageName: ghcr.io/cloudnative-pg/postgresql:18.2-system-trixie affinity: enablePodAntiAffinity: true # Default value diff --git a/docs/src/ssl_connections.md b/docs/src/ssl_connections.md index c717ff8ad4..d4fd217017 100644 --- a/docs/src/ssl_connections.md +++ b/docs/src/ssl_connections.md @@ -182,7 +182,7 @@ Output: version -------------------------------------------------------------------------------------- ------------------ -PostgreSQL 18.1 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.1 20191121 (Red Hat +PostgreSQL 18.2 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5), 64-bit (1 row) ``` diff --git a/docs/src/troubleshooting.md b/docs/src/troubleshooting.md index 1ac81b4e8f..9ea29c7f69 100644 --- a/docs/src/troubleshooting.md +++ b/docs/src/troubleshooting.md @@ -223,7 +223,7 @@ Cluster in healthy state Name: cluster-example Namespace: default System ID: 7044925089871458324 -PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:18.1-system-trixie +PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:18.2-system-trixie Primary instance: cluster-example-1 Instances: 3 Ready instances: 3 @@ -292,7 +292,7 @@ kubectl describe cluster -n | grep "Image Name" Output: ```shell - Image Name: ghcr.io/cloudnative-pg/postgresql:18.1-system-trixie + Image Name: ghcr.io/cloudnative-pg/postgresql:18.2-system-trixie ``` :::note diff --git a/pkg/versions/versions.go b/pkg/versions/versions.go index 4c1cb01ba6..20d0d889cd 100644 --- a/pkg/versions/versions.go +++ b/pkg/versions/versions.go @@ -26,7 +26,7 @@ const ( Version = "1.28.1" // DefaultImageName is the default image used by the operator to create pods - DefaultImageName = "ghcr.io/cloudnative-pg/postgresql:18.1-system-trixie" + DefaultImageName = "ghcr.io/cloudnative-pg/postgresql:18.2-system-trixie" // DefaultOperatorImageName is the default operator image used by the controller in the pods running PostgreSQL DefaultOperatorImageName = "ghcr.io/cloudnative-pg/cloudnative-pg:1.28.1"