Bootstrap
-
# A more restrictive rule for TLS and IP of origin is recommended
host replication streaming_replica all md5
-The following manifest creates a new PostgreSQL 16.4 cluster,
+
The following manifest creates a new PostgreSQL 17.0 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
@@ -791,7 +787,7 @@
Username/Password authentication
name: target-db
spec:
instances: 3
- imageName: ghcr.io/cloudnative-pg/postgresql:16.4
+ imageName: ghcr.io/cloudnative-pg/postgresql:17.0
bootstrap:
pg_basebackup:
@@ -810,7 +806,7 @@ Username/Password authentication
key: password
All the requirements must be met for the clone operation to work, including
-the same PostgreSQL version (in our case 16.4).
+the same PostgreSQL version (in our case 17.0).
TLS certificate authentication
The second authentication method supported by CloudNativePG
with the pg_basebackup
bootstrap is based on TLS client certificates.
@@ -822,7 +818,7 @@
TLS certificate authentication
This example can be easily adapted to cover an instance that resides
outside the Kubernetes cluster.
-The manifest defines a new PostgreSQL 16.4 cluster called cluster-clone-tls
,
+
The manifest defines a new PostgreSQL 17.0 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
@@ -835,7 +831,7 @@
TLS certificate authentication
name: cluster-clone-tls
spec:
instances: 3
- imageName: ghcr.io/cloudnative-pg/postgresql:16.4
+ imageName: ghcr.io/cloudnative-pg/postgresql:17.0
bootstrap:
pg_basebackup:
diff --git a/assets/documentation/1.23/certificates/index.html b/assets/documentation/1.23/certificates/index.html
index 440ba9e4..8588e2fa 100644
--- a/assets/documentation/1.23/certificates/index.html
+++ b/assets/documentation/1.23/certificates/index.html
@@ -161,9 +161,9 @@