kubernetes/components/kopiur/backup/restore.yaml
1
---
2
# yaml-language-server: $schema=https://k8s-schemas.home-operations.com/kopiur.home-operations.com/restore_v1alpha1.json
3
apiVersion: kopiur.home-operations.com/v1alpha1
4
kind: Restore
5
metadata:
6
name: ${APP}
7
spec:
8
failurePolicy:
9
backoffLimit: ${KOPIUR_RESTORE_BACKOFF:=8}
10
policy:
11
onMissingSnapshot: Continue
12
source:
13
fromPolicy:
14
name: ${APP}
15
offset: ${KOPIUR_RESTORE_OFFSET:=0}
16
target:
17
populator: {}