Adding velero scheduled backup and dropbo sync
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
apiVersion: batch/v1beta1
|
||||
kind: CronJob
|
||||
metadata:
|
||||
name: dropbox-sync
|
||||
namespace: velero
|
||||
spec:
|
||||
schedule: "0 5 * * *"
|
||||
jobTemplate:
|
||||
spec:
|
||||
template:
|
||||
spec:
|
||||
serviceAccountName: default
|
||||
containers:
|
||||
- name: dopybox-sync
|
||||
image: iptizer/swiss
|
||||
volumeMounts:
|
||||
- name: rclone-config
|
||||
mountPath: /rclone.secret
|
||||
subPath: "rclone.secret"
|
||||
command:
|
||||
- "/bin/bash"
|
||||
- "-c"
|
||||
args:
|
||||
- "/usr/bin/rclone --config /rclone.secret -v copy minio:backup/ dropbox:server_backup/velero/"
|
||||
volumes:
|
||||
- name: rclone-config
|
||||
secret:
|
||||
secretName: rclone-config
|
||||
restartPolicy: Never
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user