mirror of
https://github.com/khuedoan/homelab.git
synced 2025-02-06 17:18:51 +07:00
33 lines
739 B
YAML
33 lines
739 B
YAML
|
apiVersion: k8up.io/v1
|
||
|
kind: Schedule
|
||
|
metadata:
|
||
|
name: schedule-test
|
||
|
spec:
|
||
|
backend:
|
||
|
s3:
|
||
|
endpoint: s3.us-west-002.backblazeb2.com
|
||
|
bucket: khuedoan-homelab-backup
|
||
|
accessKeyIDSecretRef:
|
||
|
name: backblaze-credentials
|
||
|
key: username
|
||
|
secretAccessKeySecretRef:
|
||
|
name: backblaze-credentials
|
||
|
key: password
|
||
|
repoPasswordSecretRef:
|
||
|
name: backup-repo
|
||
|
key: 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
|