From 7a84f41f965a2bb7a7a16ce62c385e84bb3d8597 Mon Sep 17 00:00:00 2001 From: yerkennz Date: Tue, 21 Apr 2026 16:49:56 +0500 Subject: [PATCH] fix[CPCAP-8985] add default value for backupDaemon.s3Storage.region --- docs/public/installation.md | 2 +- operator/charts/patroni-services/templates/cr.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/public/installation.md b/docs/public/installation.md index 3ab9a7d7..95ad0f6e 100644 --- a/docs/public/installation.md +++ b/docs/public/installation.md @@ -412,7 +412,7 @@ This sections describes all possible deploy parameters for PostgreSQL Backup Dae | backupDaemon.s3Storage.bucket | string | no | n/a | Specifies name of S3 Bucket. | | backupDaemon.s3Storage.prefix | string | no | postgres | Specifies name of sub-directory before common backup path inside bucket. | | backupDaemon.s3Storage.untrustedCert | string | no | true | Specifies whether or not to verify SSL certificates. By default SSL certificates are verified. | -| backupDaemon.s3Storage.region | string | no | n/a | Specifies the name of the region associated with the client. | +| backupDaemon.s3Storage.region | string | no | us-east-1 | Specifies the name of the region associated with the client. | | backupDaemon.externalPv.name | string | no | n/a | Specifies the name of External PV. | | backupDaemon.externalPv.capacity | string | no | n/a | Specifies capacity of External PV. | | backupDaemon.externalPv.storageClass | string | no | n/a | Specifies StorageClass of External PV. | diff --git a/operator/charts/patroni-services/templates/cr.yaml b/operator/charts/patroni-services/templates/cr.yaml index d397a2b5..bb012988 100644 --- a/operator/charts/patroni-services/templates/cr.yaml +++ b/operator/charts/patroni-services/templates/cr.yaml @@ -118,7 +118,7 @@ spec: bucket: {{ .Values.backupDaemon.s3Storage.bucket }} prefix: {{ default "postgres" .Values.backupDaemon.s3Storage.prefix }} untrustedCert: {{ default "true" .Values.backupDaemon.s3Storage.untrustedCert }} - region: {{ .Values.backupDaemon.s3Storage.region }} + region: {{ default "us-east-1" .Values.backupDaemon.s3Storage.region }} {{ end }} {{ if .Values.backupDaemon.externalPv }} externalPv: {{ toYaml .Values.backupDaemon.externalPv | nindent 6 }}