-
Notifications
You must be signed in to change notification settings - Fork 71
OCPBUGS-20347: UPSTREAM: <carry>: SCC RBAC #601
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
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: awgreene 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 |
I know we don't have a CI job on this (yet), but please try to start commits in downstream repos with |
@ncdc I'm confused, this is a downstream only commit, could you clarify when to use |
@awgreene: This pull request references Jira Issue OCPBUGS-20347, 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 kubernetes/test-infra repository. |
Sure! The terminology is a bit "weird":
|
It helped me to think of the "me" perspective as upstream. Then these are all messages to upstream about what to do with what's downstream and the semantics make sense. |
/jira refresh |
@grokspawn: This pull request references Jira Issue OCPBUGS-20347, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
Requesting review from QA contact: 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 kubernetes/test-infra repository. |
Test fail, details: https://issues.redhat.com/browse/OCPBUGS-20347 |
@@ -22,6 +22,14 @@ rules: | |||
verbs: ["*"] |
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 rule below still exists, so it still has the high access permission and can get all SCC.
- apiGroups:
- '*'
resources:
- '*'
verbs:
- '*'
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.
@jianzhangbjz we need this PR which contains this commit.
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.
I've pulled that commit into this PR.
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.
Got it, thanks!
This will specifically allow OLM to avoid the "use" verb for SCCs that it wasn't configured to work with on OpenShift clusters. Signed-off-by: Alexander Greene <[email protected]> Upstream-repository: operator-lifecycle-manager Upstream-commit: 1c419a3fd20207ac8c6d41030e96d0c7b0275efd
After reducing the RBAC granted to the OLM ServiceAccount in an earlier commit, this commit introduces RBAC so pods that use the OLM ServiceAccount will qualify to use the restricted-v2 SCC. Signed-off-by: Alexander Greene <[email protected]>
@stevekuznetsov is going to pull this commit into #600, closing this. |
@awgreene: This pull request references Jira Issue OCPBUGS-20347. The bug has been updated to no longer 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 kubernetes/test-infra repository. |
After reducing the RBAC granted to the OLM ServiceAccount in an earlier commit, this commit introduces RBAC so pods that use the OLM ServiceAccount will qualify to use the restricted-v2 SCC.