diff --git a/pkg/operator/ceph/csi/secrets.go b/pkg/operator/ceph/csi/secrets.go index d78f559ca..d43178f25 100644 --- a/pkg/operator/ceph/csi/secrets.go +++ b/pkg/operator/ceph/csi/secrets.go @@ -81,6 +81,7 @@ func createCSIKeyringCephFSProvisioner(s *keyring.SecretStore) (string, error) { func cephCSIKeyringRBDNodeCaps() []string { return []string{ "mon", "profile rbd", + "mgr", "allow rw", "osd", "profile rbd", } } diff --git a/pkg/operator/ceph/csi/secrets_test.go b/pkg/operator/ceph/csi/secrets_test.go index 00b2dfc16..3120ff23c 100644 --- a/pkg/operator/ceph/csi/secrets_test.go +++ b/pkg/operator/ceph/csi/secrets_test.go @@ -24,7 +24,7 @@ import ( func TestCephCSIKeyringRBDNodeCaps(t *testing.T) { caps := cephCSIKeyringRBDNodeCaps() - assert.Equal(t, caps, []string{"mon", "profile rbd", "osd", "profile rbd"}) + assert.Equal(t, caps, []string{"mon", "profile rbd", "mgr", "allow rw", "osd", "profile rbd"}) } func TestCephCSIKeyringRBDProvisionerCaps(t *testing.T) {