Skip to content

Commit

Permalink
Mention about the possibilities of using staging_target_path at NodeS…
Browse files Browse the repository at this point in the history
…tage.

At present, it is unclear to SP that, how to use staging_target_path
and the possibilities of using the same. This patch add more details
on `staging target path` and its usage.

Fix # #385

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
  • Loading branch information
humblec committed Sep 3, 2019
1 parent 9e773d2 commit 3d22723
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 3 deletions.
8 changes: 7 additions & 1 deletion csi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,13 @@ message NodeStageVolumeRequest {
// that the path is directory and that the process serving the
// request has `read` and `write` permission to that directory. The
// CO SHALL be responsible for creating the directory if it does not
// exist.
// exist.The CO will pass around the staging_target_directory from
// NodeStageVolume to NodePublishVolume. SP can stage a volume
// however it like inside the staging_target_directory.
// For example, SP can stage it directly at the
// starging_target_directory or a subdirectory or file underneath.
// SP can also store other files/metadata inside the
// staging_target_directory if it like.
// This is a REQUIRED field.
string staging_target_path = 3;

Expand Down
8 changes: 7 additions & 1 deletion lib/go/csi/csi.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -1931,7 +1931,13 @@ message NodeStageVolumeRequest {
// that the path is directory and that the process serving the
// request has `read` and `write` permission to that directory. The
// CO SHALL be responsible for creating the directory if it does not
// exist.
// exist.The CO will pass around the staging_target_directory from
// NodeStageVolume to NodePublishVolume. SP can stage a volume
// however it like inside the staging_target_directory.
// For example, SP can stage it directly at the
// starging_target_directory or a subdirectory or file underneath.
// SP can also store other files/metadata inside the
// staging_target_directory if it like.
// This is a REQUIRED field.
string staging_target_path = 3;
Expand Down

0 comments on commit 3d22723

Please sign in to comment.