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

fix(cert-manager-webhook): fix label name to bypass LBC webhooks #16743

Merged
merged 1 commit into from
Sep 19, 2024

Conversation

math3vz
Copy link
Contributor

@math3vz math3vz commented Aug 7, 2024

Similar to #16179

Fixes #16742

It changes label app.kubernetes.io/name from webhook to cert-manager in svc/cert-manager-webhook. This exclude the service from the AWS Load balancer controller mutating webhook configuration as shown in #16179

Copy link

linux-foundation-easycla bot commented Aug 7, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: math3vz / name: Matheus Moraes (ab42e7d)

@k8s-ci-robot
Copy link
Contributor

Welcome @math3vz!

It looks like this is your first PR to kubernetes/kops 🎉. Please refer to our pull request process documentation to help your PR have a smooth ride to approval.

You will be prompted by a bot to use commands during the review process. Do not be afraid to follow the prompts! It is okay to experiment. Here is the bot commands documentation.

You can also check if kubernetes/kops has its own contribution guidelines.

You may want to refer to our testing guide if you run into trouble with your tests not passing.

If you are having difficulty getting your pull request seen, please follow the recommended escalation practices. Also, for tips and tricks in the contribution process you may want to read the Kubernetes contributor cheat sheet. We want to make sure your contribution gets all the attention it needs!

Thank you, and welcome to Kubernetes. 😃

@k8s-ci-robot k8s-ci-robot added cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Aug 7, 2024
@k8s-ci-robot
Copy link
Contributor

Hi @math3vz. Thanks for your PR.

I'm waiting for a kubernetes 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-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. and removed cncf-cla: no Indicates the PR's author has not signed the CNCF CLA. labels Aug 7, 2024
@justinsb
Copy link
Member

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Aug 14, 2024
@justinsb
Copy link
Member

Those failures look unrelated, I think...

/retest

@justinsb
Copy link
Member

/retest

@justinsb
Copy link
Member

OK so I'm reasonably sure those are unrelated failures ... possibly new tests in 1.31?

@math3vz
Copy link
Contributor Author

math3vz commented Aug 15, 2024

OK so I'm reasonably sure those are unrelated failures ... possibly new tests in 1.31?

I agree, it looks related to the test environment, is there anything I can do?

k8s-ci-robot added a commit that referenced this pull request Aug 15, 2024
…-upstream-release-1.30

Automated cherry pick of #16743: fix(cert-manager-webhook): fix label name to bypass LBC
@justinsb
Copy link
Member

We discussed in office hours. We think we understand the failures and they are not regressions, so we're trying to cherry pick to 1.30.0 so we can release that with this included (#16752).

The flurry of WIP PRs are to try to fix the unrelated regressions (and thus verify that they are unrelated).

We think there are two issues:

  1. There's a skiplist for some well-known-bad upstream tests that keys off the Kube version: WIP: Try bumping regex skiplist version to include 1.31 #16751
  2. There appears to be a bug where if nodeup installs a package that restarts systemd (or some systemd services), that causes nodeup to restart. If we happen to get killed during an apt-get, dpkg can become wedged. That's what WIP: Try running apt-get in background #16750 is investigating, whether we can be more robust to that.

@math3vz
Copy link
Contributor Author

math3vz commented Sep 18, 2024

Hey @hakman @justinsb, I've noticed this got cherry-picked and released at 1.30. Should I make some changes to this pull request?

@hakman
Copy link
Member

hakman commented Sep 18, 2024

Thanks for the reminder @math3vz. Let's see! 😄
/lgtm
/approve
/test all

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 18, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman

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

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/contains-merge-commits and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. labels Sep 18, 2024
@math3vz
Copy link
Contributor Author

math3vz commented Sep 18, 2024

/retest

@math3vz
Copy link
Contributor Author

math3vz commented Sep 18, 2024

@hakman I executed a merge by mistake and lost the approval, can you approve it again?

@k8s-ci-robot
Copy link
Contributor

k8s-ci-robot commented Sep 18, 2024

@math3vz: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-kops-e2e-aws-upgrade-k127-ko127-to-klatest-kolatest-many-addons ab42e7d link false /test pull-kops-e2e-aws-upgrade-k127-ko127-to-klatest-kolatest-many-addons

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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. I understand the commands that are listed here.

@hakman
Copy link
Member

hakman commented Sep 19, 2024

@hakman I executed a merge by mistake and lost the approval, can you approve it again?

No worries. Thanks for fixing.
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 19, 2024
@k8s-ci-robot k8s-ci-robot merged commit 2ba95c5 into kubernetes:master Sep 19, 2024
24 of 25 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.31 milestone Sep 19, 2024
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. area/addons cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dependency loop between cert-manager-webhook and AWS load balancer controller
4 participants