Repository navigation
Move webhook testing package to core module - #6041
Conversation
This package was used by at least one external importer [1] and so the change to make the webhook live in a separate package caused an issue which @irbekrm reported on slack. [2] This PR moves the webhook testing code into the core cert-manager module so it'll be importable anywhere (albeit under a new name). This change also requires moving the webhook options into the core cert-manager module since they're required by the webhook testing logic. [1] https://github.com/cert-manager/approver-policy/blob/268cd2fdba78d616a67a97c07d6ecb211f3da346/test/env/env.go#L25 [2] https://kubernetes.slack.com/archives/CDEQJ0Q8M/p1683650224483169 Signed-off-by: Ashley Davis <[email protected]>
|
/cherry-pick release-1.12 |
|
@irbekrm: once the present PR merges, I will cherry-pick it on top of release-1.12 in a new PR and assign it to you. DetailsIn 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. |
irbekrm
left a comment
There was a problem hiding this comment.
Thanks for the quick fix @SgtCoDFish !
/lgtm
|
[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 DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@irbekrm: new pull request created: #6042 DetailsIn 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. |
This package was used by at least one external importer [1] and so the change to make the webhook live in a separate package caused an issue which @irbekrm reported on slack. [2]
This PR moves the webhook testing code into the core cert-manager module so it'll be importable anywhere (albeit under a new name). This change also requires moving the webhook options into the core cert-manager module since they're required by the webhook testing logic.
[1] https://github.com/cert-manager/approver-policy/blob/268cd2fdba78d616a67a97c07d6ecb211f3da346/test/env/env.go#L25
[2] https://kubernetes.slack.com/archives/CDEQJ0Q8M/p1683650224483169
Kind
/kind bug
Release Note