Skip to content

Commit 66a3cdb

Browse files
github-actions[bot]postgres-versions-updater
and
postgres-versions-updater
authored
feat: update default PostgreSQL version to 15.4 (cloudnative-pg#2519)
Signed-off-by: GitHub <noreply@github.com> Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com> Co-authored-by: postgres-versions-updater <postgres-versions-updater@users.noreply.github.com>
1 parent d73d508 commit 66a3cdb

11 files changed

+30
-30
lines changed

.github/pg_versions.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
22
"16": [
3-
"16beta2",
4-
"16beta2-2"
3+
"16beta3",
4+
"16beta3-1"
55
],
66
"15": [
7-
"15.3",
8-
"15.2"
7+
"15.4",
8+
"15.3"
99
],
1010
"14": [
11-
"14.8",
12-
"14.7"
11+
"14.9",
12+
"14.8"
1313
],
1414
"13": [
15-
"13.11",
16-
"13.10"
15+
"13.12",
16+
"13.11"
1717
],
1818
"12": [
19-
"12.15",
20-
"12.14"
19+
"12.16",
20+
"12.15"
2121
],
2222
"11": [
23-
"11.20",
24-
"11.19"
23+
"11.21",
24+
"11.20"
2525
]
2626
}

docs/src/bootstrap.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ file on the source PostgreSQL instance:
468468
host replication streaming_replica all md5
469469
```
470470

471-
The following manifest creates a new PostgreSQL 15.3 cluster,
471+
The following manifest creates a new PostgreSQL 15.4 cluster,
472472
called `target-db`, using the `pg_basebackup` bootstrap method
473473
to clone an external PostgreSQL cluster defined as `source-db`
474474
(in the `externalClusters` array). As you can see, the `source-db`
@@ -483,7 +483,7 @@ metadata:
483483
name: target-db
484484
spec:
485485
instances: 3
486-
imageName: ghcr.io/cloudnative-pg/postgresql:15.3
486+
imageName: ghcr.io/cloudnative-pg/postgresql:15.4
487487
488488
bootstrap:
489489
pg_basebackup:
@@ -503,7 +503,7 @@ spec:
503503
```
504504

505505
All the requirements must be met for the clone operation to work, including
506-
the same PostgreSQL version (in our case 15.3).
506+
the same PostgreSQL version (in our case 15.4).
507507

508508
#### TLS certificate authentication
509509

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

521-
The manifest defines a new PostgreSQL 15.3 cluster called `cluster-clone-tls`,
521+
The manifest defines a new PostgreSQL 15.4 cluster called `cluster-clone-tls`,
522522
which is bootstrapped using the `pg_basebackup` method from the `cluster-example`
523523
external cluster. The host is identified by the read/write service
524524
in the same cluster, while the `streaming_replica` user is authenticated
@@ -533,7 +533,7 @@ metadata:
533533
name: cluster-clone-tls
534534
spec:
535535
instances: 3
536-
imageName: ghcr.io/cloudnative-pg/postgresql:15.3
536+
imageName: ghcr.io/cloudnative-pg/postgresql:15.4
537537
538538
bootstrap:
539539
pg_basebackup:

docs/src/declarative_hibernation.md

+1-1
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:15.3
61+
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:15.4
6262
Primary instance: cluster-example-2
6363
Status: Cluster in healthy state
6464
Instances: 3

docs/src/kubectl-plugin.md

+4-4
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:15.3
203+
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:15.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:15.3
248+
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:15.4
249249
Primary instance: sandbox-2
250250
Instances: 3
251251
Ready instances: 3
@@ -913,7 +913,7 @@ it from the actual pod. This means that you will be using the `postgres` user.
913913
```shell
914914
kubectl cnpg psql cluster-example
915915
916-
psql (15.3 (Debian 15.3-1.pgdg110+1))
916+
psql (15.4 (Debian 15.4-1.pgdg110+1))
917917
Type "help" for help.
918918
919919
postgres=#
@@ -924,7 +924,7 @@ select to work against a replica by using the `--replica` option:
924924

925925
```shell
926926
kubectl cnpg psql --replica cluster-example
927-
psql (15.3 (Debian 15.3-1.pgdg110+1))
927+
psql (15.4 (Debian 15.4-1.pgdg110+1))
928928
929929
Type "help" for help.
930930

docs/src/monitoring.md

+1-1
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="15.3"} 15.3
175+
cnpg_collector_postgres_version{cluster="cluster-example",full="15.4"} 15.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

+1-1
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 (15.3 (Debian 15.3-1.pgdg110+1))
103+
psql (15.4 (Debian 15.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

+1-1
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:15.3
38+
imageName: ghcr.io/cloudnative-pg/postgresql:15.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

+1-1
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:15.3
61+
imageName: ghcr.io/cloudnative-pg/postgresql:15.4
6262

6363
affinity:
6464
enablePodAntiAffinity: true #default value

docs/src/ssl_connections.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ Output :
163163
version
164164
--------------------------------------------------------------------------------------
165165
------------------
166-
PostgreSQL 15.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.1 20191121 (Red Hat
166+
PostgreSQL 15.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

+2-2
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:15.3-3
183+
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:15.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:15.3-3
259+
Image Name: ghcr.io/cloudnative-pg/postgresql:15.4-3
260260
```
261261

262262
!!! Note

pkg/versions/versions.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const (
2323
Version = "1.20.2"
2424

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

0 commit comments

Comments
 (0)