-
Notifications
You must be signed in to change notification settings - Fork 593
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
Add permission to update namespaces/finalizer #5501
Conversation
Codecov Report
@@ Coverage Diff @@
## main #5501 +/- ##
=======================================
Coverage 82.69% 82.69%
=======================================
Files 198 198
Lines 6098 6098
=======================================
Hits 5043 5043
Misses 731 731
Partials 324 324 Continue to review full report at Codecov.
|
/hold |
this will be more relevant when #5495 is landing |
/unhold as #5495 is now merged |
Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
f97c29c
to
adb4f55
Compare
see also knative/serving#11517 |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: matzew, slinkydeveloper The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
(similar to knative/eventing#5501) This patch adds the permission to update `namespaces/finalizers`. Since knative/pkg#2098 added ownerRef refers to namespace for webhook, we need this permission. Without it, cluster which has a stricter RBAC rules gets the following error: ``` cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on ... ``` Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
…#1000) (similar to knative/eventing#5501) This patch adds the permission to update `namespaces/finalizers`. Since knative/pkg#2098 added ownerRef refers to namespace for webhook, we need this permission. Without it, cluster which has a stricter RBAC rules gets the following error: ``` cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on ... ``` Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
…knative-extensions#1000) (similar to knative/eventing#5501) This patch adds the permission to update `namespaces/finalizers`. Since knative/pkg#2098 added ownerRef refers to namespace for webhook, we need this permission. Without it, cluster which has a stricter RBAC rules gets the following error: ``` cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on ... ``` Signed-off-by: Pierangelo Di Pilato <pierangelodipilato@gmail.com>
Signed-off-by: Matthias Wessendorf mwessend@redhat.com
Fixes #
Proposed Changes
(similar to knative/serving#11517)
This patch adds the permission to update
namespaces/finalizers
.Since knative/pkg#2098 added ownerRef refers to namespace for webhook,
we need this permission. Without it, cluster which has a stricter RBAC
rules gets the following error:
Pre-review Checklist
Release Note
/cc @markusthoemmes @nak3
Docs