diff --git a/charts/postgres-cluster/templates/_backup.tpl b/charts/postgres-cluster/templates/_backup.tpl index ec30e89..934cf72 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.jobs }} - jobs: {{ .Values.backup.wal.jobs }} + {{- if .Values.backup.wal.maxParallel }} + maxParallel: {{ .Values.backup.wal.maxParallel }} {{- end }} data: {{- if .Values.backup.data.compression }} diff --git a/charts/postgres-cluster/templates/_bootstrap.tpl b/charts/postgres-cluster/templates/_bootstrap.tpl index bb4e04b..afc1974 100644 --- a/charts/postgres-cluster/templates/_bootstrap.tpl +++ b/charts/postgres-cluster/templates/_bootstrap.tpl @@ -94,8 +94,8 @@ externalClusters: {{- if .Values.recovery.data.encryption }} encryption: {{ .Values.recovery.data.encryption }} {{- end }} - {{- if .Values.recovery.data.maxParallel }} - maxParallel: {{ .Values.recovery.data.maxParallel }} + {{- if .Values.recovery.data.jobs }} + jobs: {{ .Values.recovery.data.jobs }} {{- end }} {{- else }} {{ fail "Invalid cluster mode!" }} diff --git a/charts/postgres-cluster/values.yaml b/charts/postgres-cluster/values.yaml index 09f2e3c..1c9b741 100644 --- a/charts/postgres-cluster/values.yaml +++ b/charts/postgres-cluster/values.yaml @@ -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. - maxParallel: 2 + jobs: 2 replica: # See https://cloudnative-pg.io/documentation/current/database_import/ @@ -180,7 +180,7 @@ 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. - jobs: 2 + maxParallel: 2 data: # Data compression method. One of `` (for no compression), `gzip`, `bzip2` or `snappy`. compression: snappy