apps/garage/migrate/resources/job.migrate.yaml
Peter Kurfer 5a60be966b
All checks were successful
Renovate / renovate (push) Successful in 1m15s
chore(db): decrease backup retention to 7d
2024-10-12 23:13:02 +02:00

33 lines
779 B
YAML

---
apiVersion: batch/v1
kind: Job
metadata:
name: sync-garage-forgejo
namespace: garage
spec:
ttlSecondsAfterFinished: 100
template:
spec:
containers:
- name: rclone
image: rclone/rclone
args:
- sync
- -P
- --update
- --no-update-modtime
- --no-update-dir-modtime
- --ignore-errors
- -s3-upload-concurrency 64
- -v
- garage:forgejo
- hcloud:1661580-forgejo
volumeMounts:
- name: rclone-config
mountPath: /config/rclone
restartPolicy: Never
volumes:
- name: rclone-config
secret:
secretName: rclone-config
defaultMode: 420