add CephCluster RBAC to the osd service account

In order for the osd service account to reference the
cephcluster CR in the owner references, OpenShift requires
access to the CephCluster CRD. This adds the minimal changes
needed to appease OpenShift.

Signed-off-by: travisn <tnielsen@redhat.com>
This commit is contained in:
travisn committed 2019-08-02 17:00:26 -06:00
1 parent 7944d1dc61
commit bdeddd4995
1 file changed
+3
@@ -513,6 +513,9 @@ rules:
- apiGroups: [""]
resources: ["configmaps"]
verbs: [ "get", "list", "watch", "create", "update", "delete" ]
- apiGroups: ["ceph.rook.io"]
resources: ["cephclusters", "cephclusters/finalizers"]
verbs: ["*"]
---
# Aspects of ceph-mgr that require access to the system namespace
kind: ClusterRole