-
Notifications
You must be signed in to change notification settings - Fork 165
LOG-1713: fix prometheus roles to be namespaced scoped #1383
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, but did you forget to generate the bundle maybe?
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jcantrill 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 |
Ran make target but it appears it updated files outside of the changes I was targeting |
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.
One more thing, you need to ensure that you manual delete the old clusterrole and clusterrolebinding from the bundle and manifests dir.
Looks like people don't treat the bundle dir with care. |
@periklis I believe this change does accomplish removing those roles/bindings. Existing deployments I do not believe will be updated to remove them. I think this change also moves us one step closer to being able to remove the manifest directory |
/hold |
/hold cancel |
Nope the |
This is the role the collector uses to talk to the API server, not for prometheus to scrap the collector. Interestingly though I wonder if we can reduce it to a namespaces role or if you require clusterwide in order to get pod meta from any pod across the cluster |
/retest |
2 similar comments
/retest |
/retest |
/lgtm |
@jcantrill: 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/test-infra repository. I understand the commands that are listed here. |
/cherrypick release-5.4 |
@jcantrill: #1383 failed to apply on top of branch "release-5.4":
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. |
LOG-1713: fix prometheus roles to be namespaced scoped
Description
This PR:
Links