-
Notifications
You must be signed in to change notification settings - Fork 280
fix(RELEASE-1645): allow serviceaccounts to see cm #6450
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
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.
/lgtm
One optional nitpick
kind: Role | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: configmap-viewer-role |
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.
Nitpick: is it necessary to include the resource kind in the resource name? Any objection to naming the role and rolebinding configmap-viewer
? It's not the end of the world to leave the kind in the name, just a little verbose, like type FooStruct struct {}
😄
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.
fixed!
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aThorp96, scoheb 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 |
/retest failed |
@aThorp96: The
The following commands are available to trigger optional jobs:
Use
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-sigs/prow repository. |
/retest-failed |
/test appstudio-e2e-tests |
- Grant access to authenticated users to be able to view openshift-pipelines configMaps. The user case involves service accounts running automated tests being able to discover the custom URL for the Konflux UI Signed-off-by: Scott Hebert <[email protected]>
4918a73
to
f00bc34
Compare
New changes are detected. LGTM label has been removed. |
# Grant access to authenticated users to be able to view | ||
# openshift-pipelines configMaps. The user case involves | ||
# service accounts running automated tests being able to | ||
# discover the custom URL for the Konflux UI |
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 really appreciate the "why" comment here. Since this is going to apply to all users, is there any risk in all users having read access to configmaps? I'm wondering if the the automated testing serviceaccounts have a shared group which this rolebinding can use as its subject instead of all authenticated users
no longer needed! |
Uh oh!
There was an error while loading. Please reload this page.