Enable longhorn backup
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adrien Reslinger 2022-05-17 16:57:24 +02:00
parent f813c839a2
commit 6d35239db7
Signed by: adrien
GPG key ID: DA7B27055C66D6DE
2 changed files with 50 additions and 18 deletions

View file

@ -0,0 +1,15 @@
apiVersion: longhorn.io/v1beta1
kind: RecurringJob
metadata:
name: "{{ item.name }}"
namespace: "{{ storage_longhorn.namespace }}"
spec:
cron: "{{ item.cron }}"
task: "{{ item.task }}"
groups:
- default
retain: {{ item.retain }}
concurrency: 2
# labels:
# label/1: a
# label/2: b