apps/garage/migrate/resources/job.migrate.yaml

34 lines
767 B
YAML
Raw Normal View History

2024-05-07 11:51:08 +00:00
---
apiVersion: batch/v1
kind: Job
metadata:
2024-11-07 21:16:11 +00:00
name: sync-garage-csi
2024-05-07 11:51:08 +00:00
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
2024-11-07 21:16:11 +00:00
- garage:csi
- hcloud:1661580-csi
volumeMounts:
- name: rclone-config
mountPath: /config/rclone
2024-05-07 11:51:08 +00:00
restartPolicy: Never
volumes:
- name: rclone-config
secret:
secretName: rclone-config
defaultMode: 420