-
Notifications
You must be signed in to change notification settings - Fork 114
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
readd required buildrun permission when OwnerRefererencesPermissionEnforcement is enabled #808
readd required buildrun permission when OwnerRefererencesPermissionEnforcement is enabled #808
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/assign @imjasonh I believe the final determination of what from your RBAC PR caused this is in #806 (comment) |
@@ -27,6 +27,10 @@ rules: | |||
resources: ['buildruns/status'] | |||
verbs: ['update'] | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# This permission is required by the OwnerReferencesPermissionEnforcement admission controller, | |
# which requires that controllers wishing to set OwnerReferences with blockOwnerDeletion have permission | |
# to update finalizers on the owner resource. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment added @imjasonh
…forcement is enabled
db1df1e
to
39302fe
Compare
Won't we need permission to delete See also #807 - I've updated our KinD config to enable the admission controllers that OpenShift uses. |
Those permissions were not needed in my testing to execute a build run on openshift 4.8.
Yep, ideally we see a similar failure with that new test, and then after merging this change, those failures go away. |
fwiw @adambkaplan I created a new 4.8 cluster today, deployed the current pipelines release from operator hub, and did a |
Nice! After this goes in, should we be releasing a 0.5.1 ? cc @qu1queee |
As https://github.com/shipwright-io/build/pull/807/files contains this change, plus additional perms and testing enablement, I'm closing this out |
Changes
Fixes #806
/kind bug
Submitter Checklist
See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.
Release Notes