Skip to content

Commit

Permalink
add secrets field support for ControllerGetVolume Request
Browse files Browse the repository at this point in the history
At present `secrets` are not part of this request and some
consumers need this field to for its operation.:

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
  • Loading branch information
humblec committed Jun 16, 2022
1 parent ad238e5 commit f667a20
Show file tree
Hide file tree
Showing 3 changed files with 221 additions and 198 deletions.
5 changes: 5 additions & 0 deletions csi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,11 @@ message ControllerGetVolumeRequest {
// The ID of the volume to fetch current volume information for.
// This field is REQUIRED.
string volume_id = 1;

// Secrets required by plugin to complete node expand volume request.
// This field is OPTIONAL. Refer to the `Secrets Requirements`
// section on how to use this field.
map<string, string> secrets = 2 [(csi_secret) = true];
}

message ControllerGetVolumeResponse {
Expand Down
Loading

0 comments on commit f667a20

Please sign in to comment.