From f4983878921c58dd92fd9f95f2a4926951021768 Mon Sep 17 00:00:00 2001
From: Janne Mareike Koschinski <janne@kuschku.de>
Date: Fri, 12 Aug 2022 23:03:14 +0200
Subject: [PATCH] fix: correct restic chart

---
 restic/templates/cronjob.yaml | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/restic/templates/cronjob.yaml b/restic/templates/cronjob.yaml
index 619cb8b..6b61d18 100644
--- a/restic/templates/cronjob.yaml
+++ b/restic/templates/cronjob.yaml
@@ -45,7 +45,9 @@ spec:
                 - "forget"
                 - "--prune"
                 - "--verbose"
-                {{- toYaml .Values.keepOptions | nindent 16 }}
+                {{- range .Values.keepOptions }}
+                - {{ toYaml . | nindent 18}}
+                {{- end }}
               envFrom:
                 - secretRef:
                     name: {{ include "restic-helm.fullname" . }}
@@ -62,7 +64,9 @@ spec:
                 - "backup"
                 - "."
                 - "--verbose"
-                {{- toYaml .Values.backupOptions | nindent 16 }}
+                {{- range .Values.backupOptions }}
+                - {{ toYaml . | nindent 18}}
+                {{- end }}
               envFrom:
                 - secretRef:
                     name: {{ include "restic-helm.fullname" . }}
-- 
GitLab