-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Webhook solver conformance bugfix #5736
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
Webhook solver conformance bugfix #5736
Conversation
With the goal of making folks working on these parts of code be aware that this is the one bit that will be imported in external projects Signed-off-by: irbekrm <irbekrm@gmail.com>
Signed-off-by: irbekrm <irbekrm@gmail.com>
The way the tests run (a new kube apiserver with a different client created for the same initialized solver) is not how this solver would actually run Signed-off-by: irbekrm <irbekrm@gmail.com>
/kind bug |
/test |
@irbekrm: The
The following commands are available to trigger optional jobs:
Use
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. |
/test pull-cert-manager-master-e2e-v1-26-feature-gates-disabled |
Seems to be an unrelated flake to do with venafi addons setup /test pull-cert-manager-master-e2e-v1-26-feature-gates-disabled |
network issues as far as I can tell /test pull-cert-manager-master-e2e-v1-21 |
/test pull-cert-manager-master-e2e-v1-22 |
Some flake related to the skipped Venafi tests, unrelated, but probably worth looking into at some point https://prow.build-infra.jetstack.net/view/gs/jetstack-logs/pr-logs/pull/cert-manager_cert-manager/5736/pull-cert-manager-master-e2e-v1-26/1615787040345952256 /test pull-cert-manager-master-e2e-v1-26 |
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 nitpick about import ordering - sorry! This looks good to go though!
/cherry-pick release-1.11 |
@SgtCoDFish: once the present PR merges, I will cherry-pick it on top of release-1.11 in a new PR and assign it to you. 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. |
/cherry-pick release-1.10 |
@SgtCoDFish: once the present PR merges, I will cherry-pick it on top of release-1.10 in a new PR and assign it to you. 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. |
Signed-off-by: irbekrm <irbekrm@gmail.com>
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
/approve
Thanks for this 👍
Question about backporting: Do people run the conformance tests against tagged versions or could they run against a branch? It seems a shame to do a patch release just for this testing change 🤔
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: irbekrm, 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 |
I agree with you, it does not make sense to cut a release just so as to get a tag. |
/test pull-cert-manager-master-e2e-v1-26 |
@SgtCoDFish: new pull request created: #5738 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. |
@SgtCoDFish: new pull request created: #5739 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. |
Fixes #5725
This PR fixes DNS webhook solver conformance test bug introduced in #5691 - in that PR I changed a webhook Solver interface implentation for RFC2136 to not start a Secrets informer factory and made some associated changes to integration tests which are a bit clunky for this particular Solver implementation.
The tests are being used as conformance tests by external webhook implementations and the changes broke their tests.
This PR:
To reproduce the bug:
TEST_ZONE_NAME=example.com. make test
that runs the conformance tests from cert-manager against the example webhook implementationTo observe the fix:
replace github.com/cert-manager/cert-manager => github.com/irbekrm/cert-manager webhook_solver_conformance_bugfix
to go.mod to pull in cert-manager from this PRgo mod tidy
TEST_ZONE_NAME=example.com. make test
that runs the conformance tests from cert-manager against the example webhook implementation/kind bug