-
Notifications
You must be signed in to change notification settings - Fork 2k
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
csi: validate volume
block has attachment_mode
and access_mode
#10651
Conversation
0f90bb4
to
1df6ebf
Compare
1df6ebf
to
27afec8
Compare
27afec8
to
bbfca71
Compare
The `attachment_mode` and `access_mode` fields are required for CSI volumes. The `mount_options` block is only allowed for CSI volumes.
bbfca71
to
44bd789
Compare
I've updated this PR with some more test coverage and rebased it on |
0b10d98
to
44bd789
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
Fixes #10645
The
attachment_mode
andaccess_mode
fields are required for CSIvolumes. The
mount_options
block is only allowed for CSI volumes.