@@ -788,6 +788,17 @@ message ControllerUnpublishVolumeRequest {
788
788
// This field is OPTIONAL. Refer to the `Secrets Requirements`
789
789
// section on how to use this field.
790
790
map <string , string > secrets = 3 [(csi_secret) = true ];
791
+
792
+ // Indicates SP MUST make the volume inacessible to the node or nodes
793
+ // it is being unpublished from. Any attempt to read or write data
794
+ // to a volume from a node that has been fenced MUST NOT succeed,
795
+ // even if the volume remains staged and/or published on the node.
796
+ // CO MUST NOT set this field to true unless SP has the
797
+ // UNPUBLISH_FENCE controller capability.
798
+ // The SP MAY make the volume inaccessible even when this field is
799
+ // false.
800
+ // This is an OPTIONAL field.
801
+ bool fence = 4 ;
791
802
}
792
803
793
804
message ControllerUnpublishVolumeResponse {
@@ -1316,6 +1327,13 @@ message NodeUnstageVolumeRequest {
1316
1327
// system/filesystem, but, at a minimum, SP MUST accept a max path
1317
1328
// length of at least 128 bytes.
1318
1329
string staging_target_path = 2 ;
1330
+
1331
+ // Indicates that the SP should prefer to successfully unstage the
1332
+ // volume, even if data loss would occur as a result.
1333
+ // CO MUST NOT set this field to true unless SP has the
1334
+ // FORCE_UNPUBLISH node capability.
1335
+ // This in an OPTIONAL field.
1336
+ bool force = 3 ;
1319
1337
}
1320
1338
1321
1339
message NodeUnstageVolumeResponse {
@@ -1400,6 +1418,13 @@ message NodeUnpublishVolumeRequest {
1400
1418
// system/filesystem, but, at a minimum, SP MUST accept a max path
1401
1419
// length of at least 128 bytes.
1402
1420
string target_path = 2 ;
1421
+
1422
+ // Indicates that the SP should prefer to successfully unpublish the
1423
+ // volume, even if data loss would occur as a result.
1424
+ // CO MUST NOT set this field to true unless SP has the
1425
+ // FORCE_UNPUBLISH node capability.
1426
+ // This in an OPTIONAL field.
1427
+ bool force = 3 ;
1403
1428
}
1404
1429
1405
1430
message NodeUnpublishVolumeResponse {
0 commit comments