Skip to content

Commit 0108c0c

Browse files
author
postgres-versions-updater
authored
feat: update default PostgreSQL version to 16.4
Signed-off-by: GitHub <[email protected]>
1 parent faec6d7 commit 0108c0c

11 files changed

+32
-28
lines changed

.github/pg_versions.json

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
11
{
2+
"17": [
3+
"17beta3",
4+
"17beta3-3"
5+
],
26
"16": [
3-
"16.1",
4-
"16.0"
7+
"16.4",
8+
"16.3"
59
],
610
"15": [
7-
"15.5",
8-
"15.4"
11+
"15.8",
12+
"15.7"
913
],
1014
"14": [
11-
"14.10",
12-
"14.9"
15+
"14.13",
16+
"14.12"
1317
],
1418
"13": [
15-
"13.13",
16-
"13.12"
19+
"13.16",
20+
"13.15"
1721
],
1822
"12": [
19-
"12.17",
20-
"12.16"
23+
"12.20",
24+
"12.19"
2125
],
2226
"11": [
2327
"11.22",

docs/src/bootstrap.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ file on the source PostgreSQL instance:
466466
host replication streaming_replica all md5
467467
```
468468

469-
The following manifest creates a new PostgreSQL 16.1 cluster,
469+
The following manifest creates a new PostgreSQL 16.4 cluster,
470470
called `target-db`, using the `pg_basebackup` bootstrap method
471471
to clone an external PostgreSQL cluster defined as `source-db`
472472
(in the `externalClusters` array). As you can see, the `source-db`
@@ -481,7 +481,7 @@ metadata:
481481
name: target-db
482482
spec:
483483
instances: 3
484-
imageName: ghcr.io/cloudnative-pg/postgresql:16.1
484+
imageName: ghcr.io/cloudnative-pg/postgresql:16.4
485485
486486
bootstrap:
487487
pg_basebackup:
@@ -501,7 +501,7 @@ spec:
501501
```
502502

503503
All the requirements must be met for the clone operation to work, including
504-
the same PostgreSQL version (in our case 16.1).
504+
the same PostgreSQL version (in our case 16.4).
505505

506506
#### TLS certificate authentication
507507

@@ -516,7 +516,7 @@ in the same Kubernetes cluster.
516516
This example can be easily adapted to cover an instance that resides
517517
outside the Kubernetes cluster.
518518

519-
The manifest defines a new PostgreSQL 16.1 cluster called `cluster-clone-tls`,
519+
The manifest defines a new PostgreSQL 16.4 cluster called `cluster-clone-tls`,
520520
which is bootstrapped using the `pg_basebackup` method from the `cluster-example`
521521
external cluster. The host is identified by the read/write service
522522
in the same cluster, while the `streaming_replica` user is authenticated
@@ -531,7 +531,7 @@ metadata:
531531
name: cluster-clone-tls
532532
spec:
533533
instances: 3
534-
imageName: ghcr.io/cloudnative-pg/postgresql:16.1
534+
imageName: ghcr.io/cloudnative-pg/postgresql:16.4
535535
536536
bootstrap:
537537
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:16.1
61+
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:16.4
6262
Primary instance: cluster-example-2
6363
Status: Cluster in healthy state
6464
Instances: 3

docs/src/kubectl-plugin.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ Cluster in healthy state
200200
Name: sandbox
201201
Namespace: default
202202
System ID: 7039966298120953877
203-
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:16.1
203+
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:16.4
204204
Primary instance: sandbox-2
205205
Instances: 3
206206
Ready instances: 3
@@ -245,7 +245,7 @@ Cluster in healthy state
245245
Name: sandbox
246246
Namespace: default
247247
System ID: 7039966298120953877
248-
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:16.1
248+
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:16.4
249249
Primary instance: sandbox-2
250250
Instances: 3
251251
Ready instances: 3
@@ -932,7 +932,7 @@ it from the actual pod. This means that you will be using the `postgres` user.
932932
```shell
933933
kubectl cnpg psql cluster-example
934934
935-
psql (16.1 (Debian 16.1-1.pgdg110+1))
935+
psql (16.4 (Debian 16.4-1.pgdg110+1))
936936
Type "help" for help.
937937
938938
postgres=#
@@ -943,7 +943,7 @@ select to work against a replica by using the `--replica` option:
943943

944944
```shell
945945
kubectl cnpg psql --replica cluster-example
946-
psql (16.1 (Debian 16.1-1.pgdg110+1))
946+
psql (16.4 (Debian 16.4-1.pgdg110+1))
947947
948948
Type "help" for help.
949949

docs/src/monitoring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ cnpg_collector_up{cluster="cluster-example"} 1
172172
173173
# HELP cnpg_collector_postgres_version Postgres version
174174
# TYPE cnpg_collector_postgres_version gauge
175-
cnpg_collector_postgres_version{cluster="cluster-example",full="16.1"} 16.1
175+
cnpg_collector_postgres_version{cluster="cluster-example",full="16.4"} 16.4
176176
177177
# HELP cnpg_collector_last_failed_backup_timestamp The last failed backup as a unix timestamp
178178
# 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 (16.1 (Debian 16.1-1.pgdg110+1))
103+
psql (16.4 (Debian 16.4-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:16.1
38+
imageName: ghcr.io/cloudnative-pg/postgresql:16.4
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
@@ -58,7 +58,7 @@ metadata:
5858
name: cluster-example
5959
spec:
6060
instances: 3
61-
imageName: ghcr.io/cloudnative-pg/postgresql:16.1
61+
imageName: ghcr.io/cloudnative-pg/postgresql:16.4
6262

6363
affinity:
6464
enablePodAntiAffinity: true #default value

docs/src/ssl_connections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Output :
163163
version
164164
--------------------------------------------------------------------------------------
165165
------------------
166-
PostgreSQL 16.1 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.1 20191121 (Red Hat
166+
PostgreSQL 16.4 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.1 20191121 (Red Hat
167167
8.3.1-5), 64-bit
168168
(1 row)
169169
```

docs/src/troubleshooting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ Cluster in healthy state
180180
Name: cluster-example
181181
Namespace: default
182182
System ID: 7044925089871458324
183-
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:16.1-3
183+
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:16.4-3
184184
Primary instance: cluster-example-1
185185
Instances: 3
186186
Ready instances: 3
@@ -256,7 +256,7 @@ kubectl describe cluster <CLUSTER_NAME> -n <NAMESPACE> | grep "Image Name"
256256
Output:
257257

258258
```shell
259-
Image Name: ghcr.io/cloudnative-pg/postgresql:16.1-3
259+
Image Name: ghcr.io/cloudnative-pg/postgresql:16.4-3
260260
```
261261

262262
!!! 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.21.0"
2424

2525
// DefaultImageName is the default image used by the operator to create pods
26-
DefaultImageName = "ghcr.io/cloudnative-pg/postgresql:16.1"
26+
DefaultImageName = "ghcr.io/cloudnative-pg/postgresql:16.4"
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.21.0"

0 commit comments

Comments
 (0)