Skip to content

Commit

Permalink
volumegroup: add parameters to modifyvolumegroup
Browse files Browse the repository at this point in the history
adding optional parameters to pass to the
ModifyVolumeGroupMembershipRequest so that
plugin can use the parameters to for the volumes
in the group.

Signed-off-by: Madhu Rajanna <[email protected]>
  • Loading branch information
Madhu-1 committed Jul 29, 2024
1 parent dc98b45 commit 20287cb
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 33 deletions.
88 changes: 55 additions & 33 deletions lib/go/volumegroup/volumegroup.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions volumegroup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ message ModifyVolumeGroupMembershipRequest {
// This field is OPTIONAL. Refer to the `Secrets Requirements`
// section on how to use this field.
map<string, string> secrets = 3 [(csi.v1.csi_secret) = true];
// parameters passed to the plugin to modify the volume group.
// This field is OPTIONAL.
map<string, string> parameters = 4;
}
// ModifyVolumeGroupMembershipResponse holds the information to
// send when volumeGroup is successfully modified.
Expand Down
4 changes: 4 additions & 0 deletions volumegroup/volumegroup.proto
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ message ModifyVolumeGroupMembershipRequest {
// This field is OPTIONAL. Refer to the `Secrets Requirements`
// section on how to use this field.
map<string, string> secrets = 3 [(csi.v1.csi_secret) = true];

// parameters passed to the plugin to modify the volume group.
// This field is OPTIONAL.
map<string, string> parameters = 4;
}
// ModifyVolumeGroupMembershipResponse holds the information to
// send when volumeGroup is successfully modified.
Expand Down

0 comments on commit 20287cb

Please sign in to comment.