From b06f0e0e25cd27a156a63ea0bb69b78cf6dc123f Mon Sep 17 00:00:00 2001
From: Janne Mareike Koschinski <janne@kuschku.de>
Date: Thu, 26 May 2022 15:57:13 +0200
Subject: [PATCH] fix: correct restartpolicy of hook

---
 restic/templates/pre-install-job.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/restic/templates/pre-install-job.yaml b/restic/templates/pre-install-job.yaml
index 09490b3..9a8d92d 100644
--- a/restic/templates/pre-install-job.yaml
+++ b/restic/templates/pre-install-job.yaml
@@ -18,6 +18,7 @@ spec:
       labels:
         {{- include "restic-helm.labels" . | nindent 8 }}
     spec:
+      restartPolicy: Never
       {{- with .Values.imagePullSecrets }}
       imagePullSecrets:
         {{- toYaml . | nindent 8 }}
-- 
GitLab