@@ -395,6 +395,19 @@ message VolumeCapability {
395
395
// to untrusted entities. The total size of this repeated field
396
396
// SHALL NOT exceed 4 KiB.
397
397
repeated string mount_flags = 2 ;
398
+
399
+ // If SP has VOLUME_MOUNT_GROUP node capability and CO provides
400
+ // this field then SP MUST ensure that the volume_mount_group
401
+ // parameter is passed as the group identifier to the underlying
402
+ // operating system mount system call, with the understanding
403
+ // that the set of available mount call parameters and/or
404
+ // mount implementations may vary across operating systems.
405
+ // Additionally, new file and/or directory entries written to
406
+ // the underlying filesystem SHOULD be permission-labeled in such a
407
+ // manner, unless otherwise modified by a workload, that they are
408
+ // both readable and writable by said mount group identifier.
409
+ // This is an OPTIONAL field.
410
+ string volume_mount_group = 3 [(alpha_field) = true ];
398
411
}
399
412
400
413
// Specify how a volume can be accessed.
@@ -1498,6 +1511,7 @@ message NodeServiceCapability {
1498
1511
// Note that, for alpha, `VolumeCondition` is intended to be
1499
1512
// informative for humans only, not for automation.
1500
1513
VOLUME_CONDITION = 4 [(alpha_enum_value) = true ];
1514
+
1501
1515
// Indicates the SP supports the SINGLE_NODE_SINGLE_WRITER and/or
1502
1516
// SINGLE_NODE_MULTI_WRITER access modes.
1503
1517
// These access modes are intended to replace the
@@ -1508,6 +1522,11 @@ message NodeServiceCapability {
1508
1522
// SINGLE_NODE_SINGLE_WRITER and/or SINGLE_NODE_MULTI_WRITER are
1509
1523
// supported, in order to permit older COs to continue working.
1510
1524
SINGLE_NODE_MULTI_WRITER = 5 [(alpha_enum_value) = true ];
1525
+
1526
+ // Indicates that Node service supports mounting volumes
1527
+ // with provided volume group identifier during node stage
1528
+ // or node publish RPC calls.
1529
+ VOLUME_MOUNT_GROUP = 6 [(alpha_enum_value) = true ];
1511
1530
}
1512
1531
1513
1532
Type type = 1 ;
@@ -1606,7 +1625,7 @@ message NodeExpandVolumeRequest {
1606
1625
// Secrets required by plugin to complete node expand volume request.
1607
1626
// This field is OPTIONAL. Refer to the `Secrets Requirements`
1608
1627
// section on how to use this field.
1609
- map <string , string > secrets = 6
1628
+ map <string , string > secrets = 6
1610
1629
[(csi_secret) = true , (alpha_field) = true ];
1611
1630
}
1612
1631
0 commit comments