Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f667a20

Browse files
committedJun 16, 2022
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]> Signed-off-by: Prasanna Kumar Kalever <[email protected]>
1 parent ad238e5 commit f667a20

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 {

‎lib/go/csi/csi.pb.go

+211-198
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎spec.md

+5
Original file line numberDiff line numberDiff line change
@@ -1544,6 +1544,11 @@ message ControllerGetVolumeRequest {
15441544
// The ID of the volume to fetch current volume information for.
15451545
// This field is REQUIRED.
15461546
string volume_id = 1;
1547+
1548+
// Secrets required by plugin to complete node expand volume request.
1549+
// This field is OPTIONAL. Refer to the `Secrets Requirements`
1550+
// section on how to use this field.
1551+
map<string, string> secrets = 2 [(csi_secret) = true];
15471552
}
15481553
15491554
message ControllerGetVolumeResponse {

0 commit comments

Comments
 (0)
Please sign in to comment.