mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Implement support for mount options in PVs
Add support for mount options via annotations on PVs
This commit is contained in:
@@ -166,6 +166,10 @@ func (plugin *flexVolumePlugin) ConstructVolumeSpec(volumeName, mountPath string
|
||||
return volume.NewSpecFromVolume(flexVolume), nil
|
||||
}
|
||||
|
||||
func (plugin *flexVolumePlugin) SupportsMountOption() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
// Mark the given commands as unsupported.
|
||||
func (plugin *flexVolumePlugin) unsupported(commands ...string) {
|
||||
plugin.Lock()
|
||||
|
||||
Reference in New Issue
Block a user