File tree Expand file tree Collapse file tree 3 files changed +295
-277
lines changed Expand file tree Collapse file tree 3 files changed +295
-277
lines changed Original file line number Diff line number Diff line change @@ -584,8 +584,10 @@ message ControllerPublishVolumeRequest {
584
584
// This is a REQUIRED field.
585
585
VolumeCapability volume_capability = 3 ;
586
586
587
- // Whether to publish the volume in readonly mode. This field is
588
- // REQUIRED.
587
+ // Whether to publish the volume in readonly mode.
588
+ // CO MUST set this field to false if SP does not have the
589
+ // PUBLISH_READONLY controller capability.
590
+ // This is a REQUIRED field.
589
591
bool readonly = 4 ;
590
592
591
593
// Secrets required by plugin to complete controller publish volume
@@ -776,6 +778,9 @@ message ControllerServiceCapability {
776
778
// the same plugin. Not all volume sources and parameters
777
779
// combinations may work.
778
780
CLONE_VOLUME = 7 ;
781
+ // Indicates the SP supports ControllerPublishVolume.readonly
782
+ // field.
783
+ PUBLISH_READONLY = 8 ;
779
784
}
780
785
781
786
Type type = 1 ;
You can’t perform that action at this time.
0 commit comments