Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

volumegroup: add parameters to modifyvolumegroup #72

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

Madhu-1
Copy link
Member

@Madhu-1 Madhu-1 commented Jul 29, 2024

adding optional parameters to pass to the ModifyVolumeGroupMembershipRequest so that the plugin can use the parameters to for the volumes in the group. For example we need to know the flatten Mode when adding the new images

@Madhu-1 Madhu-1 requested review from nixpanic and Rakshith-R July 29, 2024 11:45
@mergify mergify bot added the design Adds or updates an operation or service label Jul 29, 2024
@@ -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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commit message mentions that the parameters can be used to modify the volumes in the group. Here the parameters are for the group itself. Which one is it, or both? Consider adding a little description for it above the protobuf message in the parargaph.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update the commit and comment to match the same, it's up to the plugin what it wants to do with it as its opaque parameters from the spec point.

adding optional parameters to pass to the
ModifyVolumeGroupMembershipRequest so that
plugin can use the parameters to modify the volume
group or to modify the volumes in the group.

Signed-off-by: Madhu Rajanna <[email protected]>
@Madhu-1 Madhu-1 force-pushed the add-param-modifyvolumegroup branch from 20287cb to 79cbb9d Compare July 30, 2024 07:36
@Madhu-1 Madhu-1 requested a review from nixpanic July 30, 2024 07:37
@mergify mergify bot merged commit 3958a5b into csi-addons:main Jul 30, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Adds or updates an operation or service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants