Add support for Portworx to csi-translation lib

Signed-off-by: Oksana Naumov <trierra.dev@gmail.com>
This commit is contained in:
Oksana Naumov
2021-06-22 13:24:38 -07:00
parent 45f77ca4ba
commit 3af11fc12d
14 changed files with 543 additions and 12 deletions

View File

@@ -47,6 +47,10 @@ func isCSIMigrationOn(csiNode *storagev1.CSINode, pluginName string) bool {
if !utilfeature.DefaultFeatureGate.Enabled(features.CSIMigrationAWS) {
return false
}
case csilibplugins.PortworxVolumePluginName:
if !utilfeature.DefaultFeatureGate.Enabled(features.CSIMigrationPortworx) {
return false
}
case csilibplugins.GCEPDInTreePluginName:
if !utilfeature.DefaultFeatureGate.Enabled(features.CSIMigrationGCE) {
return false