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

34 lines
771 B
YAML
Raw Normal View History

2024-05-07 11:51:08 +00:00
---
apiVersion: batch/v1
kind: Job
metadata:
name: sync-garage-ente
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
- petabox:ente
- hcloud:1661580-ente
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