On 10/28/21 18:28, Burkhard Linke wrote:
To give an example:
caps mds = "allow rwps fsname=test"
caps mon = "allow r fsname=test"
caps osd = "allow rw tag cephfs data=test"
This is not enough to be used with the cephfs csi driver. The caps are
fine for accessing the filesystem, e.g. mounting.
Even adding 'mgr = "allow rw"' does not work. If I use the client.admin
credentials instead everything is fine, but I do not want to expose
those in kubernetes...
Would the following work for you?
caps: [mds] "allow rwps, allow rw path=/dir/on/cephfs"
caps: [mon] "allow r fsname=test"
caps: [osd] "allow rw tag cephfs data=test pool=pool-name-here
namespace=only_needed_when_using_namespaces"
Gr. Stefan
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx