Closed lpabon closed 5 years ago
We need to make it clear in the spec that who (CO or SP) is responsible for creating the target_path, and the target_path will be a file for block device and a directory for volume.
This is related to #80
Resolved in #335
NodePublishVolumeRequest() should define what to do as a driver when given a targetPath for a block volume. Right now in Kubernetes-csi we are assuming it is the responsibility of the CO to create the directory where the Symlink will live, for the CO to pass the targetPath (which is the symlink name) and for the CO to create the symlink to the raw device node.
See #285