Skip to content
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

Allow permissions to put the leases in the trust-manager namespace, not the trust namespace #225

Merged

Conversation

tspearconquest
Copy link
Contributor

@tspearconquest tspearconquest commented Nov 7, 2023

This pull request separates the lease permissions to their own role and role binding in the namespace where trust-manager will be installed. See #224 for more details.

…ot the trust namespace

Signed-off-by: Thomas Spear <tspear@conquestcyber.com>
…nents

Signed-off-by: Thomas Spear <tspear@conquestcyber.com>
@jetstack-bot jetstack-bot added dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Nov 7, 2023
@jetstack-bot
Copy link
Contributor

Hi @tspearconquest. Thanks for your PR.

I'm waiting for a cert-manager member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@jetstack-bot jetstack-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Nov 7, 2023
Signed-off-by: Thomas Spear <tspear@conquestcyber.com>
@erikgb
Copy link
Contributor

erikgb commented Nov 7, 2023

/ok-to-test

@jetstack-bot jetstack-bot added ok-to-test and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Nov 7, 2023
Copy link
Contributor

@erikgb erikgb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tspearconquest. I think we should do this, but it probably deserves special attention in the release notes for our next release. As we change namespace of the leader election lease for some users, that might allow multiple trust-manager controllers to run for a short while.

Co-authored-by: Erik Godding Boye <egboye@gmail.com>
Signed-off-by: tspearconquest <81998567+tspearconquest@users.noreply.github.com>
@tspearconquest
Copy link
Contributor Author

Sounds good. Is there anything I need to do in order to mention this in the release notes, or will it be taken care of in the release?

@erikgb
Copy link
Contributor

erikgb commented Nov 8, 2023

/lgtm

@jetstack-bot jetstack-bot added the lgtm Indicates that a PR is ready to be merged. label Nov 8, 2023
@erikgb
Copy link
Contributor

erikgb commented Nov 8, 2023

/cc @wallrj @SgtCoDFish @inteon

I am tempted to approve this as well, but since my approver status is very fresh, I don't want to do anything wrong. 👼

Copy link
Member

@SgtCoDFish SgtCoDFish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

Thanks for this - it makes sense to me. Really appreciate your involvement 😁

@jetstack-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SgtCoDFish

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jetstack-bot jetstack-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 8, 2023
@jetstack-bot jetstack-bot merged commit 4717a7f into cert-manager:main Nov 8, 2023
4 checks passed
@erikgb
Copy link
Contributor

erikgb commented Jan 2, 2024

/cherrypick release-0.7

@jetstack-bot
Copy link
Contributor

@erikgb: new pull request created: #263

In response to this:

/cherrypick release-0.7

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates that all commits in the pull request have the valid DCO sign-off message. lgtm Indicates that a PR is ready to be merged. ok-to-test size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants