diff --git a/charts/postgres-cluster/Chart.yaml b/charts/postgres-cluster/Chart.yaml index 46dc69c..bb8abdd 100644 --- a/charts/postgres-cluster/Chart.yaml +++ b/charts/postgres-cluster/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: postgres-cluster -version: 3.8.0 +version: 3.8.1 description: Chart for cloudnative-pg cluster keywords: - database diff --git a/charts/postgres-cluster/templates/_backup.tpl b/charts/postgres-cluster/templates/_backup.tpl index 5ad2186..ec30e89 100644 --- a/charts/postgres-cluster/templates/_backup.tpl +++ b/charts/postgres-cluster/templates/_backup.tpl @@ -25,8 +25,8 @@ backup: {{- if .Values.backup.wal.encryption }} encryption: {{ .Values.backup.wal.encryption }} {{- end }} - {{- if .Values.backup.wal.maxParallel }} - maxParallel: {{ .Values.backup.wal.maxParallel }} + {{- if .Values.backup.wal.jobs }} + jobs: {{ .Values.backup.wal.jobs }} {{- end }} data: {{- if .Values.backup.data.compression }} @@ -35,8 +35,8 @@ backup: {{- if .Values.backup.data.encryption }} encryption: {{ .Values.backup.data.encryption }} {{- end }} - {{- if .Values.backup.data.maxParallel }} - maxParallel: {{ .Values.backup.data.maxParallel }} + {{- if .Values.backup.data.jobs }} + jobs: {{ .Values.backup.data.jobs }} {{- end }} {{- end }} {{- end }} diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index a5b05ba..09f2e3c 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -180,14 +180,14 @@ backup: # Whether to instruct the storage provider to encrypt WAL files. One of `` (use the storage container default), `AES256` or `aws:kms`. encryption: "" # Number of WAL files to be archived or restored in parallel. - maxParallel: 2 + jobs: 2 data: # Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. compression: snappy # 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. - maxParallel: 2 + jobs: 2 # Retention policy for backups retentionPolicy: "30d"