Skip to content

Commit

Permalink
Merge pull request #6908 from openshift-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…6902-to-release-4.6

[release-4.6] Bug 1887551: Add additional provisioners to their AccessMode mapping
  • Loading branch information
openshift-merge-robot committed Dec 10, 2020
2 parents b5f7796 + b56eee1 commit 59ece2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/public/components/storage/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ export const provisionerAccessModeMapping = {
'kubernetes.io/portworx-volume': ['ReadWriteOnce', 'ReadWriteMany'],
'kubernetes.io/scaleio': ['ReadWriteOnce', 'ReadOnlyMany'],
'kubernetes.io/storageos': ['ReadWriteOnce'],
// Since 4.6 new provisioners names will be without the 'kubernetes.io/' prefix.
'manila.csi.openstack.org': ['ReadWriteOnce', 'ReadWriteMany', 'ReadOnlyMany'],
'ebs.csi.aws.com': ['ReadWriteOnce'],
'csi.ovirt.org': ['ReadWriteOnce'],
};
export const initialAccessModes = ['ReadWriteOnce', 'ReadWriteMany', 'ReadOnlyMany'];
export const accessModeRadios = [
Expand Down

0 comments on commit 59ece2f

Please sign in to comment.