blob: 1f2843441309091c767692f112a0737a02f4800a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
apiVersion: restic.anshulg.com/v1alpha1
kind: Backup # Identifier of the resource type.
metadata:
name: test-echo # Name of the "Echo" custom resource instance, may be changed to your liking
namespace: default # Namespace must exist and account in KUBECONFIG must have sufficient permissions
spec:
restic:
repository:
type: rest
uri: https://restic.anshulg.com/kellnr-restic/
password:
key: abc
name: xyz
restCredentials:
username:
name: abc
key: xyz
password:
name: abc
key: xyz
compression: max
retention:
afterBackup: true
keepDaily: 7
keepWeekly: 4
prune: true
backup:
tag:
- kellnr
volume:
mounts:
- mountPath: /opt/kdata
name: kellnr-data
volumes:
- name: kellnr-data
persistentVolumeClaim:
claimName: kellnr
|