mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +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":
|
||||
volumeOptions.KmsKeyId = v
|
||||
case volume.VolumeParameterFSType:
|
||||
// Do nothing but don't make this fail
|
||||
default:
|
||||
return nil, fmt.Errorf("invalid option %q for volume plugin %s", k, pluginName)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user