mirror of
https://github.com/cloudnative-pg/plugin-barman-cloud.git
synced 2026-01-11 21:23:12 +01:00
Version 1.25.1 of CNPG introduces a new configuration flag called `isWALArchiver`. This flag allows users to designate the plugin as a Write-Ahead Log (WAL) archiver. This update includes the addition of the flag in the examples and documentation. See also https://github.com/cloudnative-pg/cloudnative-pg/pull/6593 Closes #184 Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
29 lines
528 B
YAML
29 lines
528 B
YAML
apiVersion: postgresql.cnpg.io/v1
|
|
kind: Cluster
|
|
metadata:
|
|
name: cluster-restore
|
|
spec:
|
|
instances: 3
|
|
imagePullPolicy: IfNotPresent
|
|
|
|
bootstrap:
|
|
recovery:
|
|
source: source
|
|
|
|
plugins:
|
|
- name: barman-cloud.cloudnative-pg.io
|
|
isWALArchiver: true
|
|
parameters:
|
|
barmanObjectName: minio-store-bis
|
|
|
|
externalClusters:
|
|
- name: source
|
|
plugin:
|
|
name: barman-cloud.cloudnative-pg.io
|
|
parameters:
|
|
barmanObjectName: minio-store
|
|
serverName: cluster-example
|
|
|
|
storage:
|
|
size: 1Gi
|