mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-28 03:47:34 +00:00
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. fix accessmode mapping error What this PR does / why we need it: fix accessmode mapping error in csi_client.go `// can be mounted in read-only mode to many hosts` `ReadOnlyMany PersistentVolumeAccessMode = "ReadOnlyMany"` I think api.ReadOnlyMany should be mapping to csipb.VolumeCapability_AccessMode_MULTI_NODE_READER_ONLY Which issue this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes # NONE Special notes for your reviewer: NONE Release note: NONE