diff --git a/sc/openebs-3-replicas.yaml b/sc/openebs-3-replicas.yaml index 7a6a6f6..30100be 100644 --- a/sc/openebs-3-replicas.yaml +++ b/sc/openebs-3-replicas.yaml @@ -3,7 +3,6 @@ apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: name: openebs-3-replicas - namespace: openebs parameters: protocol: nvmf repl: "3" diff --git a/sc/openebs-snapshot.yaml b/sc/openebs-snapshot.yaml new file mode 100644 index 0000000..e836a68 --- /dev/null +++ b/sc/openebs-snapshot.yaml @@ -0,0 +1,9 @@ +--- +apiVersion: snapshot.storage.k8s.io/v1 +kind: VolumeSnapshotClass +metadata: + name: csi-openebs-snapshotclass + annotations: + velero.io/csi-volumesnapshot-class: "true" +driver: io.openebs.csi-mayastor +deletionPolicy: Delete \ No newline at end of file diff --git a/velero/src/values.yaml b/velero/src/values.yaml index dd23e03..5c3f6ac 100644 --- a/velero/src/values.yaml +++ b/velero/src/values.yaml @@ -111,6 +111,12 @@ initContainers: volumeMounts: - mountPath: /target name: plugins + - name: velero-plugin-for-csi + image: velero/velero-plugin-for-csi:v0.7.1 + imagePullPolicy: IfNotPresent + volumeMounts: + - mountPath: /target + name: plugins # SecurityContext to use for the Velero deployment. Optional. # Set fsGroup for `AWS IAM Roles for Service Accounts`