-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[enterprise-4.12] OCPBUGS-42230: Correcting Instructions to Disable Build Strategy #82196
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
[enterprise-4.12] OCPBUGS-42230: Correcting Instructions to Disable Build Strategy #82196
Conversation
The documentation for disabling builds by strategy was at one point updated to include inaccurate instructions [1]. When followed end to end, these instructions granted the `admin` and `edit` user roles permission to run builds with the `Source` and `Custom` build strategies. The latter build strategy is particularly dangerous, as it grants users permission to execute arbitrary commands in a privileged container. This change restores these instructions to the original intent of verifying that the `admin` and `edit` user roles do not have permission to create Docker strategy builds. It also simplifies the instruction to add the `autoupdate=false` RBAC annotation. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1923869 Signed-off-by: Adam Kaplan <adam.kaplan@redhat.com>
|
@openshift-cherrypick-robot: Could not make automatic cherrypick of Jira Issue OCPBUGS-42217 for this PR as the target version is not set for this branch in the jira plugin config. Running refresh: /retitle [enterprise-4.12] : Correcting Instructions to Disable Build Strategy In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@openshift-ci-robot: This pull request references Jira Issue OCPBUGS-42217, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@openshift-cherrypick-robot: No Jira issue is referenced in the title of this pull request. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@openshift-cherrypick-robot: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
@openshift-cherrypick-robot: This pull request references Jira Issue OCPBUGS-42230, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@openshift-cherrypick-robot: Jira Issue OCPBUGS-42230: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-42230 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
This is an automated cherry-pick of #82186
/assign adellape