mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-05-21 06:46:42 +00:00
It doesnot make sense to allow the creation of empty volumes which is going to be accessed with readonly mode, this commit allows the creation of volume which is having readonly capabilities only if the content source is set for the volume. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com> (cherry picked from commit 2deabcd2840ce06101c8646927f102ee1aeb947d)