diff --git a/pkg/operator/ceph/cluster/mon/util.go b/pkg/operator/ceph/cluster/mon/util.go index bb7f587b1..6f887cd39 100644 --- a/pkg/operator/ceph/cluster/mon/util.go +++ b/pkg/operator/ceph/cluster/mon/util.go @@ -210,7 +210,7 @@ func createNamedClusterInfo(context *clusterd.Context, clusterName string) (*cep } // generate the admin secret if one was not provided at the command line - args := []string{"--set-uid=0", "--cap", "mon", "'allow *'", "--cap", "osd", "'allow *'", "--cap", "mgr", "'allow *'", "--cap", "mds", "'allow'"} + args := []string{"--cap", "mon", "'allow *'", "--cap", "osd", "'allow *'", "--cap", "mgr", "'allow *'", "--cap", "mds", "'allow'"} adminSecret, err := genSecret(context.Executor, dir, client.AdminUsername, args) if err != nil { return nil, err