Skip to content

Commit 9b2faaa

Browse files
committed
add secrets field support for ControllerGetVolume Request
At present `secrets` are not part of this request and some consumers need this field to for its operation.: Signed-off-by: Humble Chirammal <[email protected]>
1 parent ad238e5 commit 9b2faaa

File tree

3 files changed

+221
-198
lines changed

3 files changed

+221
-198
lines changed

csi.proto

+5
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,11 @@ message ControllerGetVolumeRequest {
913913
// The ID of the volume to fetch current volume information for.
914914
// This field is REQUIRED.
915915
string volume_id = 1;
916+
917+
// Secrets required by plugin to complete node expand volume request.
918+
// This field is OPTIONAL. Refer to the `Secrets Requirements`
919+
// section on how to use this field.
920+
map<string, string> secrets = 2 [(csi_secret) = true];
916921
}
917922

918923
message ControllerGetVolumeResponse {

0 commit comments

Comments
 (0)