2024-05-07 11:51:08 +00:00
|
|
|
---
|
|
|
|
apiVersion: batch/v1
|
|
|
|
kind: Job
|
|
|
|
metadata:
|
2024-10-11 07:30:42 +00:00
|
|
|
name: sync-garage-ente
|
2024-05-07 11:51:08 +00:00
|
|
|
namespace: garage
|
|
|
|
spec:
|
|
|
|
ttlSecondsAfterFinished: 100
|
|
|
|
template:
|
|
|
|
spec:
|
|
|
|
containers:
|
2024-10-10 18:45:15 +00:00
|
|
|
- name: rclone
|
|
|
|
image: rclone/rclone
|
|
|
|
args:
|
|
|
|
- sync
|
|
|
|
- -P
|
|
|
|
- --update
|
|
|
|
- --no-update-modtime
|
|
|
|
- --no-update-dir-modtime
|
|
|
|
- --ignore-errors
|
|
|
|
- -s3-upload-concurrency 64
|
|
|
|
- -v
|
2024-10-11 07:30:42 +00:00
|
|
|
- petabox:ente
|
|
|
|
- hcloud:1661580-ente
|
2024-10-10 18:45:15 +00:00
|
|
|
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
|