From cc1b4b70fd0c52574a01372f04e54524eb999838 Mon Sep 17 00:00:00 2001 From: Alexis Date: Fri, 19 Nov 2021 08:07:33 +0100 Subject: [PATCH] Feature: Add support for Everest CSI (#35) Closes https://github.com/Lirt/velero-plugin-for-openstack/issues/34 Co-authored-by: Alexis Aurin --- src/cinder/block_store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cinder/block_store.go b/src/cinder/block_store.go index af5b4eb..4dfbff1 100644 --- a/src/cinder/block_store.go +++ b/src/cinder/block_store.go @@ -188,7 +188,7 @@ func (b *BlockStore) GetVolumeID(unstructuredPV runtime.Unstructured) (string, e if pv.Spec.Cinder != nil { volumeID = pv.Spec.Cinder.VolumeID - } else if pv.Spec.CSI.Driver == "cinder.csi.openstack.org" { + } else if pv.Spec.CSI.Driver == "cinder.csi.openstack.org" || pv.Spec.CSI.Driver == "disk.csi.everest.io" { volumeID = pv.Spec.CSI.VolumeHandle }