@@ -1206,6 +1206,10 @@ message NodeStageVolumeRequest {
12061206 // CO SHALL be responsible for creating the directory if it does not
12071207 // exist.
12081208 // This is a REQUIRED field.
1209+ // This field overrides the general CSI size limit.
1210+ // SP SHOULD support the maximum path length allowed by the operating
1211+ // system/filesystem, but, at a minimum, SP MUST accept a max path
1212+ // length of at least 128 bytes.
12091213 string staging_target_path = 3 ;
12101214
12111215 // Volume capability describing how the CO intends to use this volume.
@@ -1236,6 +1240,10 @@ message NodeUnstageVolumeRequest {
12361240 // The path at which the volume was staged. It MUST be an absolute
12371241 // path in the root filesystem of the process serving this request.
12381242 // This is a REQUIRED field.
1243+ // This field overrides the general CSI size limit.
1244+ // SP SHOULD support the maximum path length allowed by the operating
1245+ // system/filesystem, but, at a minimum, SP MUST accept a max path
1246+ // length of at least 128 bytes.
12391247 string staging_target_path = 2 ;
12401248}
12411249
@@ -1259,6 +1267,10 @@ message NodePublishVolumeRequest {
12591267 // It MUST be set if the Node Plugin implements the
12601268 // `STAGE_UNSTAGE_VOLUME` node capability.
12611269 // This is an OPTIONAL field.
1270+ // This field overrides the general CSI size limit.
1271+ // SP SHOULD support the maximum path length allowed by the operating
1272+ // system/filesystem, but, at a minimum, SP MUST accept a max path
1273+ // length of at least 128 bytes.
12621274 string staging_target_path = 3 ;
12631275
12641276 // The path to which the volume will be published. It MUST be an
@@ -1273,6 +1285,10 @@ message NodePublishVolumeRequest {
12731285 // mounted directory at target_path.
12741286 // Creation of target_path is the responsibility of the SP.
12751287 // This is a REQUIRED field.
1288+ // This field overrides the general CSI size limit.
1289+ // SP SHOULD support the maximum path length allowed by the operating
1290+ // system/filesystem, but, at a minimum, SP MUST accept a max path
1291+ // length of at least 128 bytes.
12761292 string target_path = 4 ;
12771293
12781294 // Volume capability describing how the CO intends to use this volume.
@@ -1308,6 +1324,10 @@ message NodeUnpublishVolumeRequest {
13081324 // path in the root filesystem of the process serving this request.
13091325 // The SP MUST delete the file or directory it created at this path.
13101326 // This is a REQUIRED field.
1327+ // This field overrides the general CSI size limit.
1328+ // SP SHOULD support the maximum path length allowed by the operating
1329+ // system/filesystem, but, at a minimum, SP MUST accept a max path
1330+ // length of at least 128 bytes.
13111331 string target_path = 2 ;
13121332}
13131333
@@ -1323,13 +1343,21 @@ message NodeGetVolumeStatsRequest {
13231343 // It MUST be an absolute path in the root filesystem of
13241344 // the process serving this request.
13251345 // This is a REQUIRED field.
1346+ // This field overrides the general CSI size limit.
1347+ // SP SHOULD support the maximum path length allowed by the operating
1348+ // system/filesystem, but, at a minimum, SP MUST accept a max path
1349+ // length of at least 128 bytes.
13261350 string volume_path = 2 ;
13271351
13281352 // The path where the volume is staged, if the plugin has the
13291353 // STAGE_UNSTAGE_VOLUME capability, otherwise empty.
13301354 // If not empty, it MUST be an absolute path in the root
13311355 // filesystem of the process serving this request.
13321356 // This field is OPTIONAL.
1357+ // This field overrides the general CSI size limit.
1358+ // SP SHOULD support the maximum path length allowed by the operating
1359+ // system/filesystem, but, at a minimum, SP MUST accept a max path
1360+ // length of at least 128 bytes.
13331361 string staging_target_path = 3 ;
13341362}
13351363
@@ -1434,6 +1462,10 @@ message NodeGetInfoResponse {
14341462 // `ControllerPublishVolume`, to refer to this node.
14351463 // The SP is NOT responsible for global uniqueness of node_id across
14361464 // multiple SPs.
1465+ // This field overrides the general CSI size limit.
1466+ // The size of this field SHALL NOT exceed 192 bytes. The general
1467+ // CSI size limit, 128 byte, is RECOMMENDED for best backwards
1468+ // compatibility.
14371469 string node_id = 1 ;
14381470
14391471 // Maximum number of volumes that controller can publish to the node.
@@ -1467,6 +1499,10 @@ message NodeExpandVolumeRequest {
14671499 string volume_id = 1 ;
14681500
14691501 // The path on which volume is available. This field is REQUIRED.
1502+ // This field overrides the general CSI size limit.
1503+ // SP SHOULD support the maximum path length allowed by the operating
1504+ // system/filesystem, but, at a minimum, SP MUST accept a max path
1505+ // length of at least 128 bytes.
14701506 string volume_path = 2 ;
14711507
14721508 // This allows CO to specify the capacity requirements of the volume
@@ -1482,6 +1518,10 @@ message NodeExpandVolumeRequest {
14821518 // If not empty, it MUST be an absolute path in the root
14831519 // filesystem of the process serving this request.
14841520 // This field is OPTIONAL.
1521+ // This field overrides the general CSI size limit.
1522+ // SP SHOULD support the maximum path length allowed by the operating
1523+ // system/filesystem, but, at a minimum, SP MUST accept a max path
1524+ // length of at least 128 bytes.
14851525 string staging_target_path = 4 ;
14861526
14871527 // Volume capability describing how the CO intends to use this volume.
0 commit comments