diff --git a/pkg/operator/ceph/cluster/nodedaemon/keyring.go b/pkg/operator/ceph/cluster/nodedaemon/keyring.go index 0472ba3e799d..af59694bf086 100644 --- a/pkg/operator/ceph/cluster/nodedaemon/keyring.go +++ b/pkg/operator/ceph/cluster/nodedaemon/keyring.go @@ -34,7 +34,7 @@ const ( [client.crash] key = %s caps mon = "allow profile crash" - caps mgr = "allow profile crash" + caps mgr = "allow rw" ` ) @@ -59,7 +59,7 @@ func CreateCrashCollectorSecret(context *clusterd.Context, clusterInfo *client.C func cephCrashCollectorKeyringCaps() []string { return []string{ "mon", "allow profile crash", - "mgr", "allow profile crash", + "mgr", "allow rw", } } diff --git a/pkg/operator/ceph/cluster/nodedaemon/keyring_test.go b/pkg/operator/ceph/cluster/nodedaemon/keyring_test.go index 376c23b60ba1..4dc9f244c92b 100644 --- a/pkg/operator/ceph/cluster/nodedaemon/keyring_test.go +++ b/pkg/operator/ceph/cluster/nodedaemon/keyring_test.go @@ -24,5 +24,5 @@ import ( func TestCephCrashCollectorKeyringCaps(t *testing.T) { caps := cephCrashCollectorKeyringCaps() - assert.Equal(t, caps, []string{"mon", "allow profile crash", "mgr", "allow profile crash"}) + assert.Equal(t, caps, []string{"mon", "allow profile crash", "mgr", "allow rw"}) }