@@ -944,10 +944,16 @@ message NodeStageVolumeRequest {
944
944
// this capability. This is an OPTIONAL field.
945
945
map <string , string > publish_info = 2 ;
946
946
947
- // The path to which the volume will be published . It MUST be an
947
+ // The path to which the volume will be staged . It MUST be an
948
948
// absolute path in the root filesystem of the process serving this
949
949
// request. The CO SHALL ensure that there is only one
950
- // staging_target_path per volume.
950
+ // `staging_target_path` per volume. The SP MUST NOT use symbolic link
951
+ // to staged the volume. The CO SHALL ensure that the path exists, and
952
+ // that the process serving the request has `read` and `write`
953
+ // permission to the path. If the path does not exist, the CO SHALL
954
+ // create an empty file if the volume is being staged as a Block
955
+ // Volume, and an empty directory if the volume is being staged as a
956
+ // Mount Volume.
951
957
// This is a REQUIRED field.
952
958
string staging_target_path = 3 ;
953
959
@@ -960,7 +966,7 @@ message NodeStageVolumeRequest {
960
966
// section on how to use this field.
961
967
map <string , string > node_stage_secrets = 5 ;
962
968
963
- // Attributes of the volume to publish . This field is OPTIONAL and
969
+ // Attributes of the volume to stage . This field is OPTIONAL and
964
970
// MUST match the attributes of the `Volume` identified by
965
971
// `volume_id`.
966
972
map <string , string > volume_attributes = 6 ;
@@ -973,7 +979,7 @@ message NodeUnstageVolumeRequest {
973
979
// The ID of the volume. This field is REQUIRED.
974
980
string volume_id = 1 ;
975
981
976
- // The path at which the volume was published . It MUST be an absolute
982
+ // The path at which the volume was staged . It MUST be an absolute
977
983
// path in the root filesystem of the process serving this request.
978
984
// This is a REQUIRED field.
979
985
string staging_target_path = 2 ;
@@ -993,7 +999,7 @@ message NodePublishVolumeRequest {
993
999
// this capability. This is an OPTIONAL field.
994
1000
map <string , string > publish_info = 2 ;
995
1001
996
- // The path to which the device was mounted by `NodeStageVolume`.
1002
+ // The path to which the volume was staged by `NodeStageVolume`.
997
1003
// It MUST be an absolute path in the root filesystem of the process
998
1004
// serving this request.
999
1005
// It MUST be set if the Node Plugin implements the
@@ -1004,8 +1010,12 @@ message NodePublishVolumeRequest {
1004
1010
// The path to which the volume will be published. It MUST be an
1005
1011
// absolute path in the root filesystem of the process serving this
1006
1012
// request. The CO SHALL ensure uniqueness of target_path per volume.
1007
- // The CO SHALL ensure that the path exists, and that the process
1008
- // serving the request has `read` and `write` permissions to the path.
1013
+ // The SP MUST NOT use symbolic link to publish the volume. The CO
1014
+ // SHALL ensure that the path exists, and that the process serving the
1015
+ // request has `read` and `write` permissions to the path. If the path
1016
+ // does not exist, the CO SHALL create an empty file if the volume is
1017
+ // being published as a Block Volume, and an empty directory if the
1018
+ // volume is being published as a Mount Volume.
1009
1019
// This is a REQUIRED field.
1010
1020
string target_path = 4 ;
1011
1021
0 commit comments