apps/garage/migrate/resources/job.migrate.yaml
Peter Kurfer 025bfe841d
All checks were successful
Renovate / renovate (push) Successful in 1m38s
feat(blog): initial deployment
2024-11-07 22:16:11 +01:00

33 lines
767 B
YAML

---
apiVersion: batch/v1
kind: Job
metadata:
name: sync-garage-csi
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:csi
- hcloud:1661580-csi
volumeMounts:
- name: rclone-config
mountPath: /config/rclone
restartPolicy: Never
volumes:
- name: rclone-config
secret:
secretName: rclone-config
defaultMode: 420