Skip to content

[NET-9097] Update service resolver webhook registration missed in previous backport#4008

Merged
nathancoleman merged 1 commit intorelease/1.2.xfrom
backport/controller-runtime/enormously-liberal-mammal
May 20, 2024
Merged

[NET-9097] Update service resolver webhook registration missed in previous backport#4008
nathancoleman merged 1 commit intorelease/1.2.xfrom
backport/controller-runtime/enormously-liberal-mammal

Conversation

@nathancoleman
Copy link
Member

@nathancoleman nathancoleman commented May 20, 2024

Changes proposed in this PR

There was a slight oversight in #3967 in which the ServiceResolver webhook registration wasn't updated to use the new SetupWithManager() pattern like all of the other webhooks were. This PR updates it.

The result was that the manager would never have a decoder assigned to it. This was previously implicitly done by controller-runtime but was removed, thus the introduction of SetupWithManager() on all of the webhooks.

How I've tested this PR

🤖 tests pass

How I expect reviewers to test this PR

Checklist

@nathancoleman nathancoleman added pr/no-changelog PR does not need a corresponding .changelog entry pr/no-backport signals that a PR will not contain a backport label labels May 20, 2024
@nathancoleman nathancoleman marked this pull request as ready for review May 20, 2024 16:01
@nathancoleman nathancoleman merged commit bbd9efa into release/1.2.x May 20, 2024
@nathancoleman nathancoleman deleted the backport/controller-runtime/enormously-liberal-mammal branch May 20, 2024 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr/no-backport signals that a PR will not contain a backport label pr/no-changelog PR does not need a corresponding .changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants