csi: update cephfs osd caps

Currently cephfs caps are data=filesystemname,
which only have write access, but not the read access
changing it to *=filesystemname so we can read data also

Signed-off-by: parth-gr <paarora@redhat.com>
This commit is contained in:
parth-gr committed 2022-05-25 18:56:54 +05:30
1 parent 6e5332a93c
commit cbda9f2f7d
1 file changed
+1 -1
@@ -662,7 +662,7 @@ class RadosJSON:
else:
entity = "{}-{}-{}".format(entity,
cluster_name, cephfs_filesystem)
caps["osd"] = "allow rw tag cephfs data={}".format(
caps["osd"] = "allow rw tag cephfs *={}".format(
cephfs_filesystem)
return caps, entity