container-storage-interface / spec

Container Storage Interface (CSI) Specification.
Apache License 2.0
1.34k stars 373 forks source link

NodePublishVolumeRequest() should define what to do as a driver when given a targetPath for a block volume #287

Closed lpabon closed 5 years ago

lpabon commented 5 years ago

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

jieyu commented 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.

jieyu commented 5 years ago

This is related to #80

saad-ali commented 5 years ago

Resolved in #335