Closed jieyu closed 5 years ago
Mostly LGTM. Is it worth adding: SP MAY create the target_path as necessary if it does not exist.
?
@saad-ali i don't think that's necessary. The comment already says that The path to which the volume MAY be staged.
and The path to which the volume will be published.
.
SGTM LGTM /approve
This patch clarifies the
target_path
andstaging_target_path
in the spec. It is CO's responsibility to make sure that SP has the permission to read or writetarget_path
andstaging_target_path
, and is able to create files/directories if the path does not exist.This patch also changes the wording in
NodeStageVolume
call to enable those plugins that want to use theNodeStageVolume
call as a lifecycle hook, but does not want to mount to thestaging_target_path
.Closes #285 Closes #80 Closes https://github.com/container-storage-interface/spec/issues/294 Closes https://github.com/container-storage-interface/spec/issues/295