From a0e820b7fa9d32002443db15291273742246483d Mon Sep 17 00:00:00 2001 From: Lumpiasty Date: Fri, 14 Feb 2025 01:21:35 +0100 Subject: [PATCH] Add mayastor snapshotclass --- infra/configs/mayastor-snapshotclass.yaml | 8 ++++++++ infra/kustomization.yaml | 1 + 2 files changed, 9 insertions(+) create mode 100644 infra/configs/mayastor-snapshotclass.yaml 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