From 4dfe1da59cf7752cf0d11b2061c75995abdc6b5b Mon Sep 17 00:00:00 2001 From: Riya Singhal Date: Tue, 2 Jan 2024 16:58:43 +0530 Subject: [PATCH] csi: updating the comment explaining the requirements this commit updates the comment to explain the requirement of giving 'all' permissions to MDS. Signed-off-by: Riya Singhal --- pkg/operator/ceph/csi/secrets.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/operator/ceph/csi/secrets.go b/pkg/operator/ceph/csi/secrets.go index 5f11dd2e1..8cbe2646f 100644 --- a/pkg/operator/ceph/csi/secrets.go +++ b/pkg/operator/ceph/csi/secrets.go @@ -108,7 +108,8 @@ func cephCSIKeyringCephFSProvisionerCaps() []string { "mon", "allow r, allow command 'osd blocklist'", "mgr", "allow rw", "osd", "allow rw tag cephfs metadata=*", - "mds", "allow *", // TODO: replace '*' with required permissions + // MDS require all(*) permissions to be able to execute admin socket commands like ceph tell required for client eviction in cephFS. + "mds", "allow *", } }