mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-05-21 14:56:41 +00:00
doc: Update cephfs caps
When cephfs is used with encryption an exclusive lock is acquired. This needs the execute permission on the metadata pool. Fixes: #4728 Signed-off-by: Felix Prasse <1330854+flx5@users.noreply.github.com>
This commit is contained in:
parent
c19f47226e
commit
031e900c7d
@ -28,7 +28,7 @@ capabilities:
|
||||
|
||||
```
|
||||
mgr "allow rw"
|
||||
osd "allow rw tag cephfs metadata=cephfs, allow rw tag cephfs data=cephfs"
|
||||
osd "allow rwx tag cephfs metadata=cephfs, allow rw tag cephfs data=cephfs"
|
||||
mds "allow r fsname=cephfs path=/volumes, allow rws fsname=cephfs path=/volumes/csi"
|
||||
mon "allow r fsname=cephfs"
|
||||
```
|
||||
@ -63,7 +63,7 @@ FS_NAME=cephfs
|
||||
SUB_VOL=csi
|
||||
ceph auth get-or-create client.$USER \
|
||||
mgr "allow rw" \
|
||||
osd "allow rw tag cephfs metadata=$FS_NAME, allow rw tag cephfs data=$FS_NAME" \
|
||||
osd "allow rwx tag cephfs metadata=$FS_NAME, allow rw tag cephfs data=$FS_NAME" \
|
||||
mds "allow r fsname=$FS_NAME path=/volumes, allow rws fsname=$FS_NAME path=/volumes/$SUB_VOL" \
|
||||
mon "allow r fsname=$FS_NAME"
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user