-
Notifications
You must be signed in to change notification settings - Fork 27
Grant cert-manager RBAC to use all policies by default #628
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
base: main
Are you sure you want to change the base?
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Erik Godding Boye <[email protected]>
5d1c937 to
e31b9f7
Compare
|
I think this might be something for a v2 of this component. |
Could you elaborate? Especially on the last part. "RBAC logic"? |
Instead of using RBAC to link CertificateRequests with CertificateRequestPolicies, we can use the |
But why did you create the referenced issue? The selector is already in use, but that connects the CertificateRequestPolicy to Issuers. Not to who created the CertificateRequest. AFAIK, RBAC isn't able to use selectors. |
|
@github-copilot review |
|
This certainly simplifies the existing setup process by wrapping it into the existing chart and on by default. On that basis I am in favour. I don't think we should block an enhancement because we "might" do something better in the future. The code look fine to me from a helm perspective but I have not tried it. |
|
/lgtm |
|
@hawksight: 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. |
This PR should make it a bit easier to use approver-policy with cert-manager. By default, it will now grant RBAC permissions to use all CertificateRequestPolicies.
Close #216
/cc @hawksight @inteon @SgtCoDFish