Skip to content

Commit 3682eb4

Browse files
5h4k4ritay-grudev
andauthored
fix(cluster): update backup template to use conditional encryption values for wal and data #614
* fix(cluster): update backup template to use conditional encryption values for wal and data Signed-off-by: Shakar Bakr <[email protected]> Signed-off-by: Itay Grudev <[email protected]> --------- Signed-off-by: Shakar Bakr <[email protected]> Signed-off-by: Itay Grudev <[email protected]> Co-authored-by: Itay Grudev <[email protected]>
1 parent e619cdd commit 3682eb4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

charts/cluster/templates/_backup.tpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ backup:
66
barmanObjectStore:
77
wal:
88
compression: {{ .Values.backups.wal.compression }}
9-
{{- with .Values.backups.wal.encryption}}
10-
encryption: {{ . }}
9+
{{- if .Values.backups.wal.encryption }}
10+
encryption: {{ .Values.backups.wal.encryption }}
1111
{{- end }}
1212
maxParallel: {{ .Values.backups.wal.maxParallel }}
1313
data:
1414
compression: {{ .Values.backups.data.compression }}
15-
{{- with .Values.backups.data.encryption }}
16-
encryption: {{ . }}
15+
{{- if .Values.backups.data.encryption }}
16+
encryption: {{ .Values.backups.data.encryption }}
1717
{{- end }}
1818
jobs: {{ .Values.backups.data.jobs }}
1919

0 commit comments

Comments
 (0)