Enable longhorn backup
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f813c839a2
commit
6d35239db7
2 changed files with 50 additions and 18 deletions
15
templates/longhorn/longhorn_recurringjob.yml.j2
Normal file
15
templates/longhorn/longhorn_recurringjob.yml.j2
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue