Skip to content

Commit 1cf046f

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 for its operation.: That said, storage backends like Ceph Cluster require the access to be achieved with the help of authentication. For such systems this becomes a requirement to have secrets/credentials be part of the request CO make for its further operations or fetching the state from the backend cluster. Signed-off-by: Humble Chirammal <[email protected]>
1 parent ad238e5 commit 1cf046f

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 controller get volume
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)