mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Fix provision fail issue for aws provisioner if fsType specified
fixes: #67146
This commit is contained in:
parent
91f93b74b1
commit
d03434e370
@ -167,6 +167,8 @@ func populateVolumeOptions(pluginName, pvcName string, capacityGB resource.Quant
|
|||||||
}
|
}
|
||||||
case "kmskeyid":
|
case "kmskeyid":
|
||||||
volumeOptions.KmsKeyId = v
|
volumeOptions.KmsKeyId = v
|
||||||
|
case volume.VolumeParameterFSType:
|
||||||
|
// Do nothing but don't make this fail
|
||||||
default:
|
default:
|
||||||
return nil, fmt.Errorf("invalid option %q for volume plugin %s", k, pluginName)
|
return nil, fmt.Errorf("invalid option %q for volume plugin %s", k, pluginName)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user