Skip to content

Commit 2d3cf9c

Browse files
feat: update default PostgreSQL version to 15.1 (cloudnative-pg#908)
1 parent 1f5c860 commit 2d3cf9c

9 files changed

+26
-26
lines changed

.github/pg_versions.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
22
"15": [
3-
"15.0",
4-
"15.0-2"
3+
"15.1",
4+
"15.0"
55
],
66
"14": [
7-
"14.5",
8-
"14.4"
7+
"14.6",
8+
"14.5"
99
],
1010
"13": [
11-
"13.8",
12-
"13.7"
11+
"13.9",
12+
"13.8"
1313
],
1414
"12": [
15-
"12.12",
16-
"12.11"
15+
"12.13",
16+
"12.12"
1717
],
1818
"11": [
19-
"11.17",
20-
"11.16"
19+
"11.18",
20+
"11.17"
2121
],
2222
"10": [
23-
"10.22",
24-
"10.21"
23+
"10.23",
24+
"10.22"
2525
]
2626
}

docs/src/bootstrap.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ file on the source PostgreSQL instance:
779779
host replication streaming_replica all md5
780780
```
781781

782-
The following manifest creates a new PostgreSQL 15.0 cluster,
782+
The following manifest creates a new PostgreSQL 15.1 cluster,
783783
called `target-db`, using the `pg_basebackup` bootstrap method
784784
to clone an external PostgreSQL cluster defined as `source-db`
785785
(in the `externalClusters` array). As you can see, the `source-db`
@@ -794,7 +794,7 @@ metadata:
794794
name: target-db
795795
spec:
796796
instances: 3
797-
imageName: ghcr.io/cloudnative-pg/postgresql:15.0
797+
imageName: ghcr.io/cloudnative-pg/postgresql:15.1
798798
799799
bootstrap:
800800
pg_basebackup:
@@ -814,7 +814,7 @@ spec:
814814
```
815815

816816
All the requirements must be met for the clone operation to work, including
817-
the same PostgreSQL version (in our case 15.0).
817+
the same PostgreSQL version (in our case 15.1).
818818

819819
#### TLS certificate authentication
820820

@@ -829,7 +829,7 @@ in the same Kubernetes cluster.
829829
This example can be easily adapted to cover an instance that resides
830830
outside the Kubernetes cluster.
831831

832-
The manifest defines a new PostgreSQL 15.0 cluster called `cluster-clone-tls`,
832+
The manifest defines a new PostgreSQL 15.1 cluster called `cluster-clone-tls`,
833833
which is bootstrapped using the `pg_basebackup` method from the `cluster-example`
834834
external cluster. The host is identified by the read/write service
835835
in the same cluster, while the `streaming_replica` user is authenticated
@@ -844,7 +844,7 @@ metadata:
844844
name: cluster-clone-tls
845845
spec:
846846
instances: 3
847-
imageName: ghcr.io/cloudnative-pg/postgresql:15.0
847+
imageName: ghcr.io/cloudnative-pg/postgresql:15.1
848848
849849
bootstrap:
850850
pg_basebackup:

docs/src/cnpg-plugin.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Cluster in healthy state
122122
Name: sandbox
123123
Namespace: default
124124
System ID: 7039966298120953877
125-
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:15.0
125+
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:15.1
126126
Primary instance: sandbox-2
127127
Instances: 3
128128
Ready instances: 3
@@ -167,7 +167,7 @@ Cluster in healthy state
167167
Name: sandbox
168168
Namespace: default
169169
System ID: 7039966298120953877
170-
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:15.0
170+
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:15.1
171171
Primary instance: sandbox-2
172172
Instances: 3
173173
Ready instances: 3

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.0 (Debian 15.0-1.pgdg110+1))
103+
psql (15.1 (Debian 15.1-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.0
38+
imageName: ghcr.io/cloudnative-pg/postgresql:15.1
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.0
61+
imageName: ghcr.io/cloudnative-pg/postgresql:15.1
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.0 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.1 20191121 (Red Hat
166+
PostgreSQL 15.1 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
@@ -124,7 +124,7 @@ Cluster in healthy state
124124
Name: cluster-example
125125
Namespace: default
126126
System ID: 7044925089871458324
127-
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:15.0-3
127+
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:15.1-3
128128
Primary instance: cluster-example-1
129129
Instances: 3
130130
Ready instances: 3
@@ -200,7 +200,7 @@ kubectl describe cluster <CLUSTER_NAME> -n <NAMESPACE> | grep "Image Name"
200200
Output:
201201

202202
```shell
203-
Image Name: ghcr.io/cloudnative-pg/postgresql:15.0-3
203+
Image Name: ghcr.io/cloudnative-pg/postgresql:15.1-3
204204
```
205205

206206
!!! Note

pkg/versions/versions.go

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

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

0 commit comments

Comments
 (0)