forked from rook/rook
I had some trouble with RBAC under minikube when testing some ceph-mgr functionality. This patch tweaks rook-ceph-mgr-system to be a ClusterRole, and rook-ceph-mgr-cluster to use a ClusterRoleBinding. While we're in there, remove the namespace fields from the ClusterRoleBindings since they just get ignored. Finally, also fix up the upgrade test to remove the objects that have changed and reinstantiate them properly. Suggested-by: Travis Nielsen <tnielsen@redhat.com> Signed-off-by: Jeff Layton <jlayton@redhat.com>