Skip to content

Commit

Permalink
feat: update default PostgreSQL version to 16.4
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
postgres-versions-updater authored and github-actions[bot] committed Sep 19, 2024
1 parent 3475f5f commit e36a70d
Show file tree
Hide file tree
Showing 12 changed files with 32 additions and 32 deletions.
24 changes: 12 additions & 12 deletions .github/pg_versions.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
{
"17": [
"17beta1",
"17beta1-1"
"17rc1",
"17rc1-12"
],
"16": [
"16.3",
"16.2"
"16.4",
"16.3"
],
"15": [
"15.7",
"15.6"
"15.8",
"15.7"
],
"14": [
"14.12",
"14.11"
"14.13",
"14.12"
],
"13": [
"13.15",
"13.14"
"13.16",
"13.15"
],
"12": [
"12.19",
"12.18"
"12.20",
"12.19"
],
"11": [
"11.22",
Expand Down
10 changes: 5 additions & 5 deletions docs/src/bootstrap.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ file on the source PostgreSQL instance:
host replication streaming_replica all md5
```

The following manifest creates a new PostgreSQL 16.3 cluster,
The following manifest creates a new PostgreSQL 16.4 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`
Expand All @@ -504,7 +504,7 @@ metadata:
name: target-db
spec:
instances: 3
imageName: ghcr.io/cloudnative-pg/postgresql:16.3
imageName: ghcr.io/cloudnative-pg/postgresql:16.4
bootstrap:
pg_basebackup:
Expand All @@ -524,7 +524,7 @@ spec:
```

All the requirements must be met for the clone operation to work, including
the same PostgreSQL version (in our case 16.3).
the same PostgreSQL version (in our case 16.4).

#### TLS certificate authentication

Expand All @@ -539,7 +539,7 @@ in the same Kubernetes cluster.
This example can be easily adapted to cover an instance that resides
outside the Kubernetes cluster.

The manifest defines a new PostgreSQL 16.3 cluster called `cluster-clone-tls`,
The manifest defines a new PostgreSQL 16.4 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
Expand All @@ -554,7 +554,7 @@ metadata:
name: cluster-clone-tls
spec:
instances: 3
imageName: ghcr.io/cloudnative-pg/postgresql:16.3
imageName: ghcr.io/cloudnative-pg/postgresql:16.4
bootstrap:
pg_basebackup:
Expand Down
2 changes: 1 addition & 1 deletion docs/src/declarative_hibernation.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ $ kubectl cnpg status <cluster-name>
Cluster Summary
Name: cluster-example
Namespace: default
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:16.3
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:16.4
Primary instance: cluster-example-2
Status: Cluster in healthy state
Instances: 3
Expand Down
4 changes: 2 additions & 2 deletions docs/src/image_catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
- major: 15
image: ghcr.io/cloudnative-pg/postgresql:15.6
- major: 16
image: ghcr.io/cloudnative-pg/postgresql:16.3
image: ghcr.io/cloudnative-pg/postgresql:16.4
```
**Example of a Cluster-Wide Catalog using `ClusterImageCatalog` Resource:**
Expand All @@ -47,7 +47,7 @@ spec:
- major: 15
image: ghcr.io/cloudnative-pg/postgresql:15.6
- major: 16
image: ghcr.io/cloudnative-pg/postgresql:16.3
image: ghcr.io/cloudnative-pg/postgresql:16.4
```

A `Cluster` resource has the flexibility to reference either an `ImageCatalog`
Expand Down
8 changes: 4 additions & 4 deletions docs/src/kubectl-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ Cluster in healthy state
Name: sandbox
Namespace: default
System ID: 7039966298120953877
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:16.3
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:16.4
Primary instance: sandbox-2
Instances: 3
Ready instances: 3
Expand Down Expand Up @@ -296,7 +296,7 @@ Cluster in healthy state
Name: sandbox
Namespace: default
System ID: 7039966298120953877
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:16.3
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:16.4
Primary instance: sandbox-2
Instances: 3
Ready instances: 3
Expand Down Expand Up @@ -983,7 +983,7 @@ it from the actual pod. This means that you will be using the `postgres` user.
```shell
kubectl cnpg psql cluster-example
psql (16.3 (Debian 16.3-1.pgdg110+1))
psql (16.4 (Debian 16.4-1.pgdg110+1))
Type "help" for help.
postgres=#
Expand All @@ -994,7 +994,7 @@ select to work against a replica by using the `--replica` option:

```shell
kubectl cnpg psql --replica cluster-example
psql (16.3 (Debian 16.3-1.pgdg110+1))
psql (16.4 (Debian 16.4-1.pgdg110+1))
Type "help" for help.
Expand Down
2 changes: 1 addition & 1 deletion docs/src/monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,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="16.3"} 16.3
cnpg_collector_postgres_version{cluster="cluster-example",full="16.4"} 16.4
# HELP cnpg_collector_last_failed_backup_timestamp The last failed backup as a unix timestamp
# TYPE cnpg_collector_last_failed_backup_timestamp gauge
Expand Down
2 changes: 1 addition & 1 deletion docs/src/postgis.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ values from the ones in this document):
```console
$ kubectl exec -ti postgis-example-1 -- psql app
Defaulted container "postgres" out of: postgres, bootstrap-controller (init)
psql (16.3 (Debian 16.3-1.pgdg110+1))
psql (16.4 (Debian 16.4-1.pgdg110+1))
Type "help" for help.
app=# SELECT * FROM pg_available_extensions WHERE name ~ '^postgis' ORDER BY 1;
Expand Down
2 changes: 1 addition & 1 deletion docs/src/samples/cluster-example-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ metadata:
name: cluster-example-full
spec:
description: "Example of cluster"
imageName: ghcr.io/cloudnative-pg/postgresql:16.3
imageName: ghcr.io/cloudnative-pg/postgresql:16.4
# imagePullSecret is only required if the images are located in a private registry
# imagePullSecrets:
# - name: private_registry_access
Expand Down
2 changes: 1 addition & 1 deletion docs/src/scheduling.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ metadata:
name: cluster-example
spec:
instances: 3
imageName: ghcr.io/cloudnative-pg/postgresql:16.3
imageName: ghcr.io/cloudnative-pg/postgresql:16.4

affinity:
enablePodAntiAffinity: true #default value
Expand Down
2 changes: 1 addition & 1 deletion docs/src/ssl_connections.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ Output:
version
--------------------------------------------------------------------------------------
------------------
PostgreSQL 16.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.1 20191121 (Red Hat
PostgreSQL 16.4 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.1 20191121 (Red Hat
8.3.1-5), 64-bit
(1 row)
```
Expand Down
4 changes: 2 additions & 2 deletions docs/src/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ Cluster in healthy state
Name: cluster-example
Namespace: default
System ID: 7044925089871458324
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:16.3-3
PostgreSQL Image: ghcr.io/cloudnative-pg/postgresql:16.4-3
Primary instance: cluster-example-1
Instances: 3
Ready instances: 3
Expand Down Expand Up @@ -294,7 +294,7 @@ kubectl describe cluster <CLUSTER_NAME> -n <NAMESPACE> | grep "Image Name"
Output:

```shell
Image Name: ghcr.io/cloudnative-pg/postgresql:16.3-3
Image Name: ghcr.io/cloudnative-pg/postgresql:16.4-3
```

!!! Note
Expand Down
2 changes: 1 addition & 1 deletion pkg/versions/versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const (
Version = "1.24.0-rc1"

// DefaultImageName is the default image used by the operator to create pods
DefaultImageName = "ghcr.io/cloudnative-pg/postgresql:16.3"
DefaultImageName = "ghcr.io/cloudnative-pg/postgresql:16.4"

// DefaultOperatorImageName is the default operator image used by the controller in the pods running PostgreSQL
DefaultOperatorImageName = "ghcr.io/cloudnative-pg/cloudnative-pg:1.24.0-rc1"
Expand Down

0 comments on commit e36a70d

Please sign in to comment.