-
Notifications
You must be signed in to change notification settings - Fork 332
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
Map PV access modes to CSI access modes based on driver capability #630
Map PV access modes to CSI access modes based on driver capability #630
Conversation
Skipping CI for Draft Pull Request. |
1a18580
to
6b90a3d
Compare
6b90a3d
to
421bd42
Compare
421bd42
to
5fdcfab
Compare
@chrishenzie ( just as a suggestion) it may be easy to have |
@humblec I've added the tables to kubernetes-csi/csi-lib-utils#89, PTAL, I plan on depending on this library across our sidecars, I just need to update this one to do that. |
@chrishenzie Thanks 👍 , it really helps ! |
5fdcfab
to
48d6167
Compare
/hold Rebased on #656 which is blocked on release of v1.22. |
48d6167
to
fc37270
Compare
/hold cancel |
fc37270
to
3db529d
Compare
3db529d
to
251509c
Compare
/assign @jsafrane |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chrishenzie, jsafrane The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind feature
What this PR does / why we need it:
See KEP#2485 for more details.
This PR introduces mappings between Kubernetes PV access modes and CSI access modes. If the CSI driver supports the
SINGLE_NODE_MULTI_WRITER
controller capability, map ReadWriteOnce toSINGLE_NODE_MULTI_WRITER
and ReadWriteOncePod toSINGLE_NODE_SINGLE_WRITER
. If the CSI driver does not support this controller capability, map ReadWriteOnce toSINGLE_NODE_WRITER
(current behavior preserved for backwards compatibility).Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
The CSI spec change PR#476 is here and just requires merging. Until then, I have a placeholder commit using my forked version of the CSI spec.
Similarly for K8s, the API change and feature addition PR#102028 is here and still is in the early stages of review. Until then, I have a placeholder commit using my forked version of the K8s API.
Does this PR introduce a user-facing change?: