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

fix: don't default to sharedv4/shared for RWX Volumes if proxy spec is set #2329

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

Glitchfix
Copy link
Contributor

What this PR does / why we need it:
When creating a proxy volume with CSI enabled, if you set RWX access mode, the user will hit an error. This is because we default to sharedv4 for all RWX volumes in CSI.

When defaulting to sharedv4, we need to first check if a proxy spec is set. In that case, we shouldn’t default to sharedv4.

csi/controller_test.go Outdated Show resolved Hide resolved
Copy link
Contributor

@ggriffiths ggriffiths left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks @Glitchfix

@github-actions
Copy link

This PR is stale because it has been in review for 3 days with no activity.

@Glitchfix
Copy link
Contributor Author

@ggriffiths I think you need merge the PR
Only those with write access to this repository can merge pull requests.

@github-actions
Copy link

github-actions bot commented Sep 3, 2023

This PR is stale because it has been in review for 3 days with no activity.

@ggriffiths ggriffiths merged commit aa0e7d0 into libopenstorage:master Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants