Skip to content
Snippets Groups Projects
Verified Commit c31ab0d9 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

feat: improve restic restart policy

parent 022e199f
Branches
No related tags found
No related merge requests found
Pipeline #2856 passed
...@@ -24,6 +24,7 @@ spec: ...@@ -24,6 +24,7 @@ spec:
labels: labels:
{{- include "restic-helm.labels" . | nindent 12 }} {{- include "restic-helm.labels" . | nindent 12 }}
spec: spec:
restartPolicy: OnFailure
{{- with .Values.imagePullSecrets }} {{- with .Values.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}
......
...@@ -24,6 +24,7 @@ spec: ...@@ -24,6 +24,7 @@ spec:
labels: labels:
{{- include "restic-helm.labels" . | nindent 12 }} {{- include "restic-helm.labels" . | nindent 12 }}
spec: spec:
restartPolicy: OnFailure
{{- with .Values.imagePullSecrets }} {{- with .Values.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment