-
Notifications
You must be signed in to change notification settings - Fork 256
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
✨ Add RBAC files for metrics authentication and authorization #2116
✨ Add RBAC files for metrics authentication and authorization #2116
Conversation
@camilamacedo86 I could identify these RBACs. Please check if this is sufficient. Thanks for your feedback so far. |
e7b25b8
to
c1e6906
Compare
@camilamacedo86: adding LGTM is restricted to approvers and reviewers in OWNERS files. 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. |
b7dfa2f
to
e8ad68c
Compare
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.
Some nits.
I'm not sure about the reason of the failure, but it didn't happen to me in local env. Have you tried rebasing the PR?
rebased but still failing. |
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 think I found the reason.
metal3-io#2102 has introduced controller-runtime's WithAuthenticationAndAuthorization filter which also requires extra RBAC roles and role bindings for metrics authentication and authorization. This PR adds those. Signed-off-by: Kashif Khan <[email protected]>
0617d17
to
47f2f52
Compare
8ac0ee8
to
39f54e9
Compare
Signed-off-by: Kashif Khan <[email protected]>
39f54e9
to
a6c6a15
Compare
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.
/approve
Let's get this merged so we have a functioning metrics endpoint. Then we can improve on the e2e test later.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: camilamacedo86, lentzi90 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 |
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
I put the backporting question to community meeting topic list tomorrow just to have concensus. It kinda feels right to backport, but also we might also get by using deprecated image for the time 0.8. |
Hi @tuminoid You can deprecate the old versions as well |
/cherry-pick release-0.8 |
@kashifest: #2116 failed to apply on top of branch "release-0.8":
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. |
#2102 has introduced controller-runtime's
WithAuthenticationAndAuthorization
filter which also requires extra RBAC roles and role bindings for metrics authentication and authorization. This PR adds those.