From 815cbb1cf16f7b9ba1f02cbfb19e92d6d0ddc6e0 Mon Sep 17 00:00:00 2001
From: Janne Mareike Koschinski <janne@kuschku.de>
Date: Fri, 12 Aug 2022 22:57:16 +0200
Subject: [PATCH] feat: update restic chart

---
 restic/Chart.yaml             | 2 +-
 restic/templates/cronjob.yaml | 1 +
 restic/values.yaml            | 2 ++
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/restic/Chart.yaml b/restic/Chart.yaml
index 2d94114..0f5df16 100644
--- a/restic/Chart.yaml
+++ b/restic/Chart.yaml
@@ -2,5 +2,5 @@ apiVersion: v2
 name: restic
 description: Helm Chart for restic
 type: application
-version: 1.3.0
+version: 1.4.0
 appVersion: "0.13.1"
diff --git a/restic/templates/cronjob.yaml b/restic/templates/cronjob.yaml
index ac34ab0..619cb8b 100644
--- a/restic/templates/cronjob.yaml
+++ b/restic/templates/cronjob.yaml
@@ -62,6 +62,7 @@ spec:
                 - "backup"
                 - "."
                 - "--verbose"
+                {{- toYaml .Values.backupOptions | nindent 16 }}
               envFrom:
                 - secretRef:
                     name: {{ include "restic-helm.fullname" . }}
diff --git a/restic/values.yaml b/restic/values.yaml
index ba0b9c8..c9b7dd5 100644
--- a/restic/values.yaml
+++ b/restic/values.yaml
@@ -16,6 +16,8 @@ keepOptions:
   - "--keep-daily"
   - "7"
 
+backupOptions: []
+
 auth: |-
   B2_ACCOUNT_ID: "AzureDiamond"
   B2_ACCOUNT_KEY: "hunter2"
-- 
GitLab