mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #67195 from mkimuram/issue/67146
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix provision fail issue for aws provisioner if fsType specified **What this PR does / why we need it**: Fix provision fail issue for aws provisioner if fsType specified **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # #67146 **Special notes for your reviewer**: /sig storage @ddebroy **Release note**: ```release-note NONE ```
This commit is contained in:
commit
9419f1d93e
@ -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