| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- apiVersion: v1
- kind: Pod
- metadata:
- name: rclone-cli
- spec:
- containers:
- - command: ["/bin/sleep"]
- args: ["infinity"]
- image: rclone/rclone:1.72
- imagePullPolicy: IfNotPresent
- name: rclone-cli
- volumeMounts:
- - name: restic-repo-vol
- mountPath: /data/repo
- - name: rclone-conf-vol
- mountPath: /config/rclone
- - name: oci-conf-vol
- mountPath: /config/oci
- - name: oci-api-key-vol
- mountPath: /config/oci-keys
- volumes:
- - name: restic-repo-vol
- hostPath:
- path: /data/backup
- type: Directory
- - name: rclone-conf-vol
- configMap:
- name: rclone-config-oos
- items:
- - key: rclone.conf
- path: rclone.conf
- - name: oci-conf-vol
- configMap:
- name: rclone-config-oos
- items:
- - key: oci.conf
- path: config
- - name: oci-api-key-vol
- secret:
- secretName: rclone-remote-backup-api-key
- restartPolicy: Never
- nodeSelector:
- kubernetes.io/hostname: raspberrypi4
|