kubernetes-csi/csi-driver-host-path

support publishing multiple times and staging exactly once

pohly opened this issue · 1 comments

pohly commented

The driver has traditionally supported publishing multiple times in parallel. That was overlooked when adding a single boolean for IsPublished:

IsPublished bool

That must be a list of target paths.

pohly commented

IsStaged also should better be converted to a string which holds the staging target path. Then in NodeStageVolume we can detect if the function gets called again with a different path, which is an error (?!).