Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

controller: add pvc finalizer rbac for annotation controller #103

Merged
merged 1 commit into from
Jan 27, 2022

Conversation

Rakshith-R
Copy link
Member

@Rakshith-R Rakshith-R commented Jan 27, 2022

Running pvc annotation controller on openshift throws the
following error.

"reclaimspacecronjobs.csiaddons.openshift.io \"pvcrbd10-1643271677\"
is forbidden: cannot set blockOwnerDeletion if an ownerReference refers
to a resource you can't set finalizers on: , <nil>"

Adding pvc finalizer rbac solves this issue.

Signed-off-by: Rakshith R [email protected]

Refer: https://bugzilla.redhat.com/show_bug.cgi?id=2046677

Similar issues spotahome/redis-operator#98 (comment)

Running pvc annotation controller on openshift throws the
following error.
```
"reclaimspacecronjobs.csiaddons.openshift.io \"pvcrbd10-1643271677\"
is forbidden: cannot set blockOwnerDeletion if an ownerReference refers
to a resource you can't set finalizers on: , <nil>"
```
Adding pvc finalizer rbac solves this issue.

Signed-off-by: Rakshith R <[email protected]>
@mergify mergify bot requested review from nixpanic, yati1998 and Yuggupta27 January 27, 2022 10:02
@mergify mergify bot merged commit 742e78a into csi-addons:main Jan 27, 2022
nixpanic pushed a commit to nixpanic/kubernetes-csi-addons that referenced this pull request Jan 12, 2024
Syncing latest changes from upstream main for kubernetes-csi-addons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants