Skip to content

Commit

Permalink
ceph: fix blockOwnerDeletion error
Browse files Browse the repository at this point in the history
See https://sdk.operatorframework.io/docs/faqs/ for further reference

Signed-off-by: Daniel Ruiz Capilla <crd1985@gmail.com>
  • Loading branch information
crd1985 committed Dec 16, 2021
1 parent 07f101e commit 87f1fbe
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions deploy/charts/rook-ceph/templates/clusterrole.yaml
Expand Up @@ -288,6 +288,11 @@ rules:
verbs:
# OBC controller updates OBC and OB statuses
- update
- apiGroups: ["objectbucket.io"]
resources: ["objectbucketclaims/finalizers", "objectbuckets/finalizers"]
verbs:
# OBC controller updates OBC and OB finalizers
- update
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
Expand Down
5 changes: 5 additions & 0 deletions deploy/examples/common.yaml
Expand Up @@ -464,6 +464,11 @@ rules:
verbs:
# OBC controller updates OBC and OB statuses
- update
- apiGroups: ["objectbucket.io"]
resources: ["objectbucketclaims/finalizers", "objectbuckets/finalizers"]
verbs:
# OBC controller updates OBC and OB finalizers
- update
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
Expand Down

0 comments on commit 87f1fbe

Please sign in to comment.