add volsync for data
This commit is contained in:
		| @@ -0,0 +1,27 @@ | ||||
| apiVersion: volsync.backube/v1alpha1 | ||||
| kind: ReplicationSource | ||||
| metadata: | ||||
|   name: roundcube-data-backup-source | ||||
|   namespace: {{ .Release.Namespace }} | ||||
|   labels: | ||||
|     app.kubernetes.io/name: roundcube-data-backup-source | ||||
|     app.kubernetes.io/instance: {{ .Release.Name }} | ||||
|     app.kubernetes.io/version: {{ .Chart.AppVersion }} | ||||
|     app.kubernetes.io/component: backup | ||||
|     app.kubernetes.io/part-of: {{ .Release.Name }} | ||||
| spec: | ||||
|   sourcePVC: roundcube-data | ||||
|   trigger: | ||||
|     schedule: 0 */6 * * * | ||||
|   restic: | ||||
|     pruneIntervalDays: 7 | ||||
|     repository: roundcube-data-backup-secret | ||||
|     retain: | ||||
|       hourly: 1 | ||||
|       daily: 1 | ||||
|       weekly: 3 | ||||
|       monthly: 2 | ||||
|       yearly: 4 | ||||
|     copyMethod: Snapshot | ||||
|     storageClassName: ceph-block-delete | ||||
|     volumeSnapshotClassName: ceph-blockpool-snapshot | ||||
		Reference in New Issue
	
	Block a user