diff --git a/infra/configs/mayastor-snapshotclass.yaml b/infra/configs/mayastor-snapshotclass.yaml new file mode 100644 index 0000000..99e77f0 --- /dev/null +++ b/infra/configs/mayastor-snapshotclass.yaml @@ -0,0 +1,8 @@ +kind: VolumeSnapshotClass +apiVersion: snapshot.storage.k8s.io/v1 +metadata: + name: csi-mayastor-snapshotclass + annotations: + velero.io/csi-volumesnapshot-class: "true" +driver: io.openebs.csi-mayastor +deletionPolicy: Delete diff --git a/infra/kustomization.yaml b/infra/kustomization.yaml index 9413a84..fa42db8 100644 --- a/infra/kustomization.yaml +++ b/infra/kustomization.yaml @@ -11,3 +11,4 @@ resources: - configs/loadbalancer-ippool.yaml - configs/cluster-issuer.yaml - configs/single-hdd-sc.yaml + - configs/mayastor-snapshotclass.yaml