IBM / ibm-spectrum-scale-csi

The IBM Spectrum Scale Container Storage Interface (CSI) project enables container orchestrators, such as Kubernetes and OpenShift, to manage the life-cycle of persistent storage.
Apache License 2.0
64 stars 50 forks source link

Support for ReadOnlyMany in the volume mount in Pods #1162

Open badri-pathak opened 1 month ago

badri-pathak commented 1 month ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Look for the support of ReadOnlyMany in the volume mount in Pods. Need to look while mounting the volume in NodePublish call.

Currently, creation of volume if VolumeAccessMode is ReadOnlyMany is not allowed.

If the feature supports, we have to remove that restriction

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: scale-fset-pvc-1
  namespace: ibm-spectrum-scale-csi-driver
spec:
  accessModes:
  - ReadOnlyMany
  resources:
    requests:
      storage: 1Gi