Skip to content

Commit

Permalink
Merge pull request #9463 from rook/mergify/bp/release-1.8/pr-9441
Browse files Browse the repository at this point in the history
ceph: fix blockOwnerDeletion error (backport #9441)
  • Loading branch information
satoru-takeuchi committed Dec 20, 2021
2 parents b7c4544 + be08527 commit 76dc8dd
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 76dc8dd

Please sign in to comment.