File tree 3 files changed +8
-5
lines changed 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,8 @@ message VolumeCapability {
187
187
// The mount options that can be used for the volume. This field is
188
188
// OPTIONAL. `mount_flags` MAY contain sensitive information.
189
189
// Therefore, the CO and the Plugin MUST NOT leak this information
190
- // to untrusted entities.
190
+ // to untrusted entities. The total size of this repeated field
191
+ // SHALL NOT exceed 4 KiB.
191
192
repeated string mount_flags = 2 ;
192
193
}
193
194
Original file line number Diff line number Diff line change @@ -299,13 +299,13 @@ The error code `OPERATION_PENDING_FOR_VOLUME` may be returned by the plugin in t
299
299
300
300
CSI defines general size limits for fields of various types (see table below).
301
301
The general size limit for a particular field may be overridden by specifying a different size limit in said field's description.
302
- The general size limits apply for messages generated by both COs and plugins.
302
+ Unless otherwise specified, fields SHALL NOT exceed the limits documented here.
303
+ These limits apply for messages generated by both COs and plugins.
303
304
304
305
| Size | Field Type |
305
306
| ------------| ---------------------|
306
307
| 128 bytes | string |
307
308
| 4 KiB | map<string, string> |
308
- | 4 KiB | repeated string |
309
309
310
310
### Identity Service RPC
311
311
@@ -494,7 +494,8 @@ message VolumeCapability {
494
494
// The mount options that can be used for the volume. This field is
495
495
// OPTIONAL. `mount_flags` MAY contain sensitive information.
496
496
// Therefore, the CO and the Plugin MUST NOT leak this information
497
- // to untrusted entities.
497
+ // to untrusted entities. The total size of this repeated field
498
+ // SHALL NOT exceed 4 KiB.
498
499
repeated string mount_flags = 2;
499
500
}
500
501
You can’t perform that action at this time.
0 commit comments