Skip to content

Commit

Permalink
Feature: Add support for Everest CSI (#35)
Browse files Browse the repository at this point in the history
Closes #34

Co-authored-by: Alexis Aurin <alexis@so6.pw>
  • Loading branch information
the-so6 and Alexis Aurin authored Nov 19, 2021
1 parent 6a06c5e commit cc1b4b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cinder/block_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit cc1b4b7

Please sign in to comment.