@@ -939,10 +939,13 @@ message NodeStageVolumeRequest {
939
939
// this capability. This is an OPTIONAL field.
940
940
map <string , string > publish_info = 2 ;
941
941
942
- // The path to which the volume will be published . It MUST be an
942
+ // The path to which the volume MAY be staged . It MUST be an
943
943
// absolute path in the root filesystem of the process serving this
944
944
// request. The CO SHALL ensure that there is only one
945
- // staging_target_path per volume.
945
+ // `staging_target_path` per volume. The CO SHALL ensure that the
946
+ // process serving the request has `read` and `write` permission to
947
+ // the path, and is able to create files or directories at the path
948
+ // if it does not exist.
946
949
// This is a REQUIRED field.
947
950
string staging_target_path = 3 ;
948
951
@@ -955,7 +958,7 @@ message NodeStageVolumeRequest {
955
958
// section on how to use this field.
956
959
map <string , string > secrets = 5 [(csi_secret) = true ];
957
960
958
- // Attributes of the volume to publish . This field is OPTIONAL and
961
+ // Attributes of the volume to stage . This field is OPTIONAL and
959
962
// MUST match the attributes of the `Volume` identified by
960
963
// `volume_id`.
961
964
map <string , string > volume_attributes = 6 ;
@@ -968,7 +971,7 @@ message NodeUnstageVolumeRequest {
968
971
// The ID of the volume. This field is REQUIRED.
969
972
string volume_id = 1 ;
970
973
971
- // The path at which the volume was published . It MUST be an absolute
974
+ // The path at which the volume was staged . It MUST be an absolute
972
975
// path in the root filesystem of the process serving this request.
973
976
// This is a REQUIRED field.
974
977
string staging_target_path = 2 ;
@@ -988,7 +991,7 @@ message NodePublishVolumeRequest {
988
991
// this capability. This is an OPTIONAL field.
989
992
map <string , string > publish_info = 2 ;
990
993
991
- // The path to which the device was mounted by `NodeStageVolume`.
994
+ // The path to which the volume was staged by `NodeStageVolume`.
992
995
// It MUST be an absolute path in the root filesystem of the process
993
996
// serving this request.
994
997
// It MUST be set if the Node Plugin implements the
@@ -999,8 +1002,9 @@ message NodePublishVolumeRequest {
999
1002
// The path to which the volume will be published. It MUST be an
1000
1003
// absolute path in the root filesystem of the process serving this
1001
1004
// request. The CO SHALL ensure uniqueness of target_path per volume.
1002
- // The CO SHALL ensure that the path exists, and that the process
1003
- // serving the request has `read` and `write` permissions to the path.
1005
+ // The CO SHALL ensure that the process serving the request has
1006
+ // `read` and `write` permissions to the path, and is able to create
1007
+ // files or directories at the path if it does not exist.
1004
1008
// This is a REQUIRED field.
1005
1009
string target_path = 4 ;
1006
1010
0 commit comments