Skip to content

Commit

Permalink
Merge pull request #8347 from josephsawaya/rook-ceph-mgr-role-changes
Browse files Browse the repository at this point in the history
ceph: update rook-ceph-mgr-cluster role rules to include PV and SC
  • Loading branch information
travisn committed Jul 27, 2021
2 parents b8ad33b + 1ddc390 commit 6dcc601
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cluster/charts/rook-ceph/templates/clusterrole.yaml
Expand Up @@ -183,6 +183,7 @@ rules:
- configmaps
- nodes
- nodes/proxy
- persistentvolumes
verbs:
- get
- list
Expand All @@ -197,6 +198,14 @@ rules:
- list
- get
- watch
- apiGroups:
- storage.k8s.io
resources:
- storageclasses
verbs:
- get
- list
- watch
---
# Aspects of ceph-mgr that require access to the system namespace
kind: ClusterRole
Expand Down
9 changes: 9 additions & 0 deletions cluster/examples/kubernetes/ceph/common.yaml
Expand Up @@ -290,6 +290,7 @@ rules:
- configmaps
- nodes
- nodes/proxy
- persistentvolumes
verbs:
- get
- list
Expand All @@ -304,6 +305,14 @@ rules:
- list
- get
- watch
- apiGroups:
- storage.k8s.io
resources:
- storageclasses
verbs:
- get
- list
- watch
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
Expand Down

0 comments on commit 6dcc601

Please sign in to comment.