change value inseration
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v2
|
||||
name: postgres-cluster
|
||||
version: 3.6.0
|
||||
version: 3.7.0
|
||||
description: Chart for cloudnative-pg cluster
|
||||
keywords:
|
||||
- database
|
||||
|
@@ -19,12 +19,24 @@ backup:
|
||||
name: {{ include "cluster.backupCredentials" . }}
|
||||
key: ACCESS_SECRET_KEY
|
||||
wal:
|
||||
{{- if .Values.backup.wal.compression }}
|
||||
compression: {{ .Values.backup.wal.compression }}
|
||||
{{- end }}
|
||||
{{- if .Values.backup.wal.encryption }}
|
||||
encryption: {{ .Values.backup.wal.encryption }}
|
||||
{{- end }}
|
||||
{{- if .Values.backup.wal.maxParallel }}
|
||||
maxParallel: {{ .Values.backup.wal.maxParallel }}
|
||||
{{- end }}
|
||||
data:
|
||||
{{- if .Values.backup.data.compression }}
|
||||
compression: {{ .Values.backup.data.compression }}
|
||||
{{- end }}
|
||||
{{- if .Values.backup.data.encryption }}
|
||||
encryption: {{ .Values.backup.data.encryption }}
|
||||
jobs: {{ .Values.backup.data.jobs }}
|
||||
{{- end }}
|
||||
{{- if .Values.backup.data.maxParallel }}
|
||||
maxParallel: {{ .Values.backup.data.maxParallel }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
@@ -78,13 +78,25 @@ externalClusters:
|
||||
name: {{ include "cluster.recoveryCredentials" . }}
|
||||
key: ACCESS_SECRET_KEY
|
||||
wal:
|
||||
{{- if .Values.recovery.wal.compression }}
|
||||
compression: {{ .Values.recovery.wal.compression }}
|
||||
{{- end }}
|
||||
{{- if .Values.recovery.wal.encryption }}
|
||||
encryption: {{ .Values.recovery.wal.encryption }}
|
||||
{{- end }}
|
||||
{{- if .Values.recovery.wal.maxParallel }}
|
||||
maxParallel: {{ .Values.recovery.wal.maxParallel }}
|
||||
{{- end }}
|
||||
data:
|
||||
{{- if .Values.recovery.data.compression }}
|
||||
compression: {{ .Values.recovery.data.compression }}
|
||||
{{- end }}
|
||||
{{- if .Values.recovery.data.encryption }}
|
||||
encryption: {{ .Values.recovery.data.encryption }}
|
||||
jobs: {{ .Values.recovery.data.jobs }}
|
||||
{{- end }}
|
||||
{{- if .Values.recovery.data.maxParallel }}
|
||||
maxParallel: {{ .Values.recovery.data.maxParallel }}
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
{{ fail "Invalid cluster mode!" }}
|
||||
{{- end }}
|
||||
|
@@ -125,7 +125,7 @@ recovery:
|
||||
# Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`.
|
||||
encryption: ""
|
||||
# Number of data files to be archived or restored in parallel.
|
||||
jobs: 2
|
||||
maxParallel: 2
|
||||
|
||||
replica:
|
||||
# See https://cloudnative-pg.io/documentation/current/database_import/
|
||||
@@ -187,7 +187,7 @@ backup:
|
||||
# Whether to instruct the storage provider to encrypt data files. One of `` (use the storage container default), `AES256` or `aws:kms`.
|
||||
encryption: ""
|
||||
# Number of data files to be archived or restored in parallel.
|
||||
jobs: 2
|
||||
maxParallel: 2
|
||||
|
||||
# Retention policy for backups
|
||||
retentionPolicy: "30d"
|
||||
|
Reference in New Issue
Block a user