@@ -218,8 +218,7 @@ message CreateVolumeRequest {
218
218
// Secrets required by plugin to complete volume creation request.
219
219
// This field is OPTIONAL. Refer to the `Secrets Requirements`
220
220
// section on how to use this field.
221
- map <string , string > controller_create_secrets = 5
222
- [(csi_secret) = true ];
221
+ map <string , string > secrets = 5 [(csi_secret) = true ];
223
222
224
223
// If specified, the new volume will be pre-populated with data from
225
224
// this source. This field is OPTIONAL.
@@ -573,8 +572,7 @@ message DeleteVolumeRequest {
573
572
// Secrets required by plugin to complete volume deletion request.
574
573
// This field is OPTIONAL. Refer to the `Secrets Requirements`
575
574
// section on how to use this field.
576
- map <string , string > controller_delete_secrets = 2
577
- [(csi_secret) = true ];
575
+ map <string , string > secrets = 2 [(csi_secret) = true ];
578
576
}
579
577
580
578
message DeleteVolumeResponse {
@@ -602,8 +600,7 @@ message ControllerPublishVolumeRequest {
602
600
// Secrets required by plugin to complete controller publish volume
603
601
// request. This field is OPTIONAL. Refer to the
604
602
// `Secrets Requirements` section on how to use this field.
605
- map <string , string > controller_publish_secrets = 5
606
- [(csi_secret) = true ];
603
+ map <string , string > secrets = 5 [(csi_secret) = true ];
607
604
608
605
// Attributes of the volume to be used on a node. This field is
609
606
// OPTIONAL and MUST match the attributes of the Volume identified
@@ -634,8 +631,7 @@ message ControllerUnpublishVolumeRequest {
634
631
// ControllerPublishVolume call for the specified volume.
635
632
// This field is OPTIONAL. Refer to the `Secrets Requirements`
636
633
// section on how to use this field.
637
- map <string , string > controller_unpublish_secrets = 3
638
- [(csi_secret) = true ];
634
+ map <string , string > secrets = 3 [(csi_secret) = true ];
639
635
}
640
636
641
637
message ControllerUnpublishVolumeResponse {
@@ -661,8 +657,7 @@ message ValidateVolumeCapabilitiesRequest {
661
657
// Secrets required by plugin to complete volume validation request.
662
658
// This field is OPTIONAL. Refer to the `Secrets Requirements`
663
659
// section on how to use this field.
664
- map <string , string > controller_validate_secrets = 5
665
- [(csi_secret) = true ];
660
+ map <string , string > secrets = 5 [(csi_secret) = true ];
666
661
}
667
662
668
663
message ValidateVolumeCapabilitiesResponse {
@@ -819,7 +814,7 @@ message CreateSnapshotRequest {
819
814
// Secrets required by plugin to complete snapshot creation request.
820
815
// This field is OPTIONAL. Refer to the `Secrets Requirements`
821
816
// section on how to use this field.
822
- map <string , string > create_snapshot_secrets = 3 [(csi_secret) = true ];
817
+ map <string , string > secrets = 3 [(csi_secret) = true ];
823
818
824
819
// Plugin specific parameters passed in as opaque key-value pairs.
825
820
// This field is OPTIONAL. The Plugin is responsible for parsing and
@@ -883,7 +878,7 @@ message DeleteSnapshotRequest {
883
878
// Secrets required by plugin to complete snapshot deletion request.
884
879
// This field is OPTIONAL. Refer to the `Secrets Requirements`
885
880
// section on how to use this field.
886
- map <string , string > delete_snapshot_secrets = 2 [(csi_secret) = true ];
881
+ map <string , string > secrets = 2 [(csi_secret) = true ];
887
882
}
888
883
889
884
message DeleteSnapshotResponse {}
@@ -958,7 +953,7 @@ message NodeStageVolumeRequest {
958
953
// Secrets required by plugin to complete node stage volume request.
959
954
// This field is OPTIONAL. Refer to the `Secrets Requirements`
960
955
// section on how to use this field.
961
- map <string , string > node_stage_secrets = 5 [(csi_secret) = true ];
956
+ map <string , string > secrets = 5 [(csi_secret) = true ];
962
957
963
958
// Attributes of the volume to publish. This field is OPTIONAL and
964
959
// MUST match the attributes of the `Volume` identified by
@@ -1020,7 +1015,7 @@ message NodePublishVolumeRequest {
1020
1015
// Secrets required by plugin to complete node publish volume request.
1021
1016
// This field is OPTIONAL. Refer to the `Secrets Requirements`
1022
1017
// section on how to use this field.
1023
- map <string , string > node_publish_secrets = 7 [(csi_secret) = true ];
1018
+ map <string , string > secrets = 7 [(csi_secret) = true ];
1024
1019
1025
1020
// Attributes of the volume to publish. This field is OPTIONAL and
1026
1021
// MUST match the attributes of the Volume identified by
0 commit comments