Skip to content

Commit 93625ee

Browse files
postgres-versions-updatergithub-actions[bot]
postgres-versions-updater
authored andcommitted
feat: update default PostgreSQL version to 17.2
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent e5eb26e commit 93625ee

12 files changed

+30
-30
lines changed

.github/pg_versions.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
22
"17": [
3-
"17.0",
4-
"17.0-20"
3+
"17.2",
4+
"17.1"
55
],
66
"16": [
7-
"16.4",
8-
"16.3"
7+
"16.6",
8+
"16.5"
99
],
1010
"15": [
11-
"15.8",
12-
"15.7"
11+
"15.10",
12+
"15.9"
1313
],
1414
"14": [
15-
"14.13",
16-
"14.12"
15+
"14.15",
16+
"14.14"
1717
],
1818
"13": [
19-
"13.16",
20-
"13.15"
19+
"13.18",
20+
"13.17"
2121
],
2222
"12": [
23-
"12.20",
24-
"12.19"
23+
"12.22",
24+
"12.21"
2525
]
2626
}

docs/src/bootstrap.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ file on the source PostgreSQL instance:
519519
host replication streaming_replica all md5
520520
```
521521

522-
The following manifest creates a new PostgreSQL 17.0 cluster,
522+
The following manifest creates a new PostgreSQL 17.2 cluster,
523523
called `target-db`, using the `pg_basebackup` bootstrap method
524524
to clone an external PostgreSQL cluster defined as `source-db`
525525
(in the `externalClusters` array). As you can see, the `source-db`
@@ -534,7 +534,7 @@ metadata:
534534
name: target-db
535535
spec:
536536
instances: 3
537-
imageName: ghcr.io/cloudnative-pg/postgresql:17.0
537+
imageName: ghcr.io/cloudnative-pg/postgresql:17.2
538538
539539
bootstrap:
540540
pg_basebackup:
@@ -554,7 +554,7 @@ spec:
554554
```
555555

556556
All the requirements must be met for the clone operation to work, including
557-
the same PostgreSQL version (in our case 17.0).
557+
the same PostgreSQL version (in our case 17.2).
558558

559559
#### TLS certificate authentication
560560

@@ -569,7 +569,7 @@ in the same Kubernetes cluster.
569569
This example can be easily adapted to cover an instance that resides
570570
outside the Kubernetes cluster.
571571

572-
The manifest defines a new PostgreSQL 17.0 cluster called `cluster-clone-tls`,
572+
The manifest defines a new PostgreSQL 17.2 cluster called `cluster-clone-tls`,
573573
which is bootstrapped using the `pg_basebackup` method from the `cluster-example`
574574
external cluster. The host is identified by the read/write service
575575
in the same cluster, while the `streaming_replica` user is authenticated
@@ -584,7 +584,7 @@ metadata:
584584
name: cluster-clone-tls
585585
spec:
586586
instances: 3
587-
imageName: ghcr.io/cloudnative-pg/postgresql:17.0
587+
imageName: ghcr.io/cloudnative-pg/postgresql:17.2
588588
589589
bootstrap:
590590
pg_basebackup:

docs/src/declarative_hibernation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ $ kubectl cnpg status <cluster-name>
5858
Cluster Summary
5959
Name: cluster-example
6060
Namespace: default
61-
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:17.0
61+
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:17.2
6262
Primary instance: cluster-example-2
6363
Status: Cluster in healthy state
6464
Instances: 3

docs/src/image_catalog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ spec:
3232
- major: 15
3333
image: ghcr.io/cloudnative-pg/postgresql:15.6
3434
- major: 16
35-
image: ghcr.io/cloudnative-pg/postgresql:17.0
35+
image: ghcr.io/cloudnative-pg/postgresql:17.2
3636
```
3737
3838
**Example of a Cluster-Wide Catalog using `ClusterImageCatalog` Resource:**
@@ -47,7 +47,7 @@ spec:
4747
- major: 15
4848
image: ghcr.io/cloudnative-pg/postgresql:15.6
4949
- major: 16
50-
image: ghcr.io/cloudnative-pg/postgresql:17.0
50+
image: ghcr.io/cloudnative-pg/postgresql:17.2
5151
```
5252

5353
A `Cluster` resource has the flexibility to reference either an `ImageCatalog`

docs/src/kubectl-plugin.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,7 @@ it from the actual pod. This means that you will be using the `postgres` user.
10051005
```shell
10061006
kubectl cnpg psql cluster-example
10071007
1008-
psql (17.0 (Debian 17.0-1.pgdg110+1))
1008+
psql (17.2 (Debian 17.2-1.pgdg110+1))
10091009
Type "help" for help.
10101010
10111011
postgres=#
@@ -1016,7 +1016,7 @@ select to work against a replica by using the `--replica` option:
10161016

10171017
```shell
10181018
kubectl cnpg psql --replica cluster-example
1019-
psql (17.0 (Debian 17.0-1.pgdg110+1))
1019+
psql (17.2 (Debian 17.2-1.pgdg110+1))
10201020
10211021
Type "help" for help.
10221022

docs/src/monitoring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ cnpg_collector_up{cluster="cluster-example"} 1
217217
218218
# HELP cnpg_collector_postgres_version Postgres version
219219
# TYPE cnpg_collector_postgres_version gauge
220-
cnpg_collector_postgres_version{cluster="cluster-example",full="17.0"} 17.0
220+
cnpg_collector_postgres_version{cluster="cluster-example",full="17.2"} 17.2
221221
222222
# HELP cnpg_collector_last_failed_backup_timestamp The last failed backup as a unix timestamp
223223
# TYPE cnpg_collector_last_failed_backup_timestamp gauge

docs/src/postgis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ values from the ones in this document):
100100
```console
101101
$ kubectl exec -ti postgis-example-1 -- psql app
102102
Defaulted container "postgres" out of: postgres, bootstrap-controller (init)
103-
psql (17.0 (Debian 17.0-1.pgdg110+1))
103+
psql (17.2 (Debian 17.2-1.pgdg110+1))
104104
Type "help" for help.
105105
106106
app=# SELECT * FROM pg_available_extensions WHERE name ~ '^postgis' ORDER BY 1;

docs/src/samples/cluster-example-full.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ metadata:
3535
name: cluster-example-full
3636
spec:
3737
description: "Example of cluster"
38-
imageName: ghcr.io/cloudnative-pg/postgresql:17.0
38+
imageName: ghcr.io/cloudnative-pg/postgresql:17.2
3939
# imagePullSecret is only required if the images are located in a private registry
4040
# imagePullSecrets:
4141
# - name: private_registry_access

docs/src/scheduling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ metadata:
4040
name: cluster-example
4141
spec:
4242
instances: 3
43-
imageName: ghcr.io/cloudnative-pg/postgresql:17.0
43+
imageName: ghcr.io/cloudnative-pg/postgresql:17.2
4444

4545
affinity:
4646
enablePodAntiAffinity: true # Default value

docs/src/ssl_connections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ Output:
173173
version
174174
--------------------------------------------------------------------------------------
175175
------------------
176-
PostgreSQL 17.0 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.1 20191121 (Red Hat
176+
PostgreSQL 17.2 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.1 20191121 (Red Hat
177177
8.3.1-5), 64-bit
178178
(1 row)
179179
```

docs/src/troubleshooting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ Cluster in healthy state
220220
Name: cluster-example
221221
Namespace: default
222222
System ID: 7044925089871458324
223-
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:17.0-3
223+
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:17.2-3
224224
Primary instance: cluster-example-1
225225
Instances: 3
226226
Ready instances: 3
@@ -288,7 +288,7 @@ kubectl describe cluster <CLUSTER_NAME> -n <NAMESPACE> | grep "Image Name"
288288
Output:
289289

290290
```shell
291-
Image Name: ghcr.io/cloudnative-pg/postgresql:17.0-3
291+
Image Name: ghcr.io/cloudnative-pg/postgresql:17.2-3
292292
```
293293

294294
!!! Note

pkg/versions/versions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const (
2323
Version = "1.24.1"
2424

2525
// DefaultImageName is the default image used by the operator to create pods
26-
DefaultImageName = "ghcr.io/cloudnative-pg/postgresql:17.0"
26+
DefaultImageName = "ghcr.io/cloudnative-pg/postgresql:17.2"
2727

2828
// DefaultOperatorImageName is the default operator image used by the controller in the pods running PostgreSQL
2929
DefaultOperatorImageName = "ghcr.io/cloudnative-pg/cloudnative-pg:1.24.1"

0 commit comments

Comments
 (0)