khuedoan-homelab/system/k8up-operator/schedule.yaml
Khue Doan 86d29b014f fix(k8up): switch to Kustomize
Helm doesn't include CRDs
2022-01-02 23:45:03 +07:00

33 lines
734 B
YAML

apiVersion: k8up.io/v1
kind: Schedule
metadata:
name: schedule-test
spec:
backend:
b2:
path: prod
bucket: khuedoan-homelab-backup
accountIDSecretRef:
name: backblaze-credentials
key: application-key-id
accountKeySecretRef:
name: backblaze-credentials
key: application-key
repoPasswordSecretRef:
name: backblaze-credentials
key: repo-password
backup:
schedule: '*/5 * * * *'
failedJobsHistoryLimit: 2
successfulJobsHistoryLimit: 2
# TODO
#promURL: https://prometheus:8443
check:
schedule: '0 1 * * 1'
#promURL: https://prometheus:8443
prune:
schedule: '0 1 * * 0'
retention:
keepLast: 5
keepDaily: 14