ceph-csi/internal
Madhu Rajanna 5a7e188bb4 rbd: allow readonly only for volume with contentsource
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 2deabcd284)
2020-09-10 15:05:38 +00:00
..
cephfs cephfs: use string const for cli error comparison 2020-08-19 18:15:10 +00:00
csi-common cleanup: address gomnd warnings 2020-07-21 08:36:24 +00:00
journal journal: replace klog with util logger in voljournal.go 2020-08-19 15:35:13 +00:00
liveness util: replace klog with util logger in liveness.go 2020-08-19 15:35:13 +00:00
rbd rbd: allow readonly only for volume with contentsource 2020-09-10 15:05:38 +00:00
util util: add helper to validate ROX request 2020-09-10 15:05:38 +00:00