@@ -592,11 +592,13 @@ message ControllerPublishVolumeRequest {
592
592
// field to match the node ID returned by `NodeGetInfo`.
593
593
string node_id = 2 ;
594
594
595
- // The capability of the volume the CO expects the volume to have.
595
+ // Volume capability describing how the CO intends to use this volume.
596
+ // SP MUST ensure the CO can use the published volume as described.
597
+ // Otherwise SP MUST return the appropriate gRPC error code.
596
598
// This is a REQUIRED field.
597
599
VolumeCapability volume_capability = 3 ;
598
600
599
- // Whether to publish the volume in readonly mode.
601
+ // Indicates SP MUST publish the volume in readonly mode.
600
602
// CO MUST set this field to false if SP does not have the
601
603
// PUBLISH_READONLY controller capability.
602
604
// This is a REQUIRED field.
@@ -954,7 +956,9 @@ message NodeStageVolumeRequest {
954
956
// This is a REQUIRED field.
955
957
string staging_target_path = 3 ;
956
958
957
- // The capability of the volume the CO expects the volume to have.
959
+ // Volume capability describing how the CO intends to use this volume.
960
+ // SP MUST ensure the CO can use the staged volume as described.
961
+ // Otherwise SP MUST return the appropriate gRPC error code.
958
962
// This is a REQUIRED field.
959
963
VolumeCapability volume_capability = 4 ;
960
964
@@ -1013,12 +1017,14 @@ message NodePublishVolumeRequest {
1013
1017
// This is a REQUIRED field.
1014
1018
string target_path = 4 ;
1015
1019
1016
- // The capability of the volume the CO expects the volume to have.
1020
+ // Volume capability describing how the CO intends to use this volume.
1021
+ // SP MUST ensure the CO can use the published volume as described.
1022
+ // Otherwise SP MUST return the appropriate gRPC error code.
1017
1023
// This is a REQUIRED field.
1018
1024
VolumeCapability volume_capability = 5 ;
1019
1025
1020
- // Whether to publish the volume in readonly mode. This field is
1021
- // REQUIRED.
1026
+ // Indicates SP MUST publish the volume in readonly mode.
1027
+ // This field is REQUIRED.
1022
1028
bool readonly = 6 ;
1023
1029
1024
1030
// Secrets required by plugin to complete node publish volume request.
0 commit comments