Skip to content

Replace deprecated webhook.Validator with webhook.CustomValidator#6700

Merged
wozniakjan merged 3 commits intokedacore:mainfrom
mycrEEpy:webhook-custom-validator
May 21, 2025
Merged

Replace deprecated webhook.Validator with webhook.CustomValidator#6700
wozniakjan merged 3 commits intokedacore:mainfrom
mycrEEpy:webhook-custom-validator

Conversation

@mycrEEpy
Copy link
Contributor

@mycrEEpy mycrEEpy commented Apr 8, 2025

As suggested in #6660, this PR replaces the deprecated webhook.Validator with webhook.CustomValidator.

The controller-runtime has not been updated yet, as the current version already supports webhook.CustomValidator.

Checklist

Fixes #6660

Signed-off-by: Tobias Germer <tobias.germer@tui.com>
@mycrEEpy mycrEEpy marked this pull request as ready for review April 8, 2025 17:38
@mycrEEpy mycrEEpy requested a review from a team as a code owner April 8, 2025 17:38
@SpiritZhou
Copy link
Contributor

SpiritZhou commented Apr 10, 2025

/run-e2e internals
Update: You can check the progress here

zroubalik and others added 2 commits April 10, 2025 15:30
@zroubalik
Copy link
Member

zroubalik commented Apr 24, 2025

/run-e2e internals
Update: You can check the progress here

Copy link
Member

@JorTurFer JorTurFer left a comment

Choose a reason for hiding this comment

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

Nice job!

@bclodius
Copy link

@JorTurFer who else can help approve this PR?

@JorTurFer
Copy link
Member

No, just another maintainer has to take a look, they will review it as soon as they have some time 😄

@metasyn
Copy link

metasyn commented May 8, 2025

This looks awesome, looking forward to the mermge 🫡

@JorTurFer
Copy link
Member

ping @zroubalik @wozniakjan

@wozniakjan wozniakjan merged commit e23ef46 into kedacore:main May 21, 2025
20 checks passed
mpechner pushed a commit to mpechner/keda that referenced this pull request May 23, 2025
…dacore#6700)

* Replace deprecated webhook.Validator with webhook.CustomValidator

Signed-off-by: Tobias Germer <tobias.germer@tui.com>

* Fix SetupWebhookWithManager

Signed-off-by: Tobias Germer <tobias.germer@tui.com>

---------

Signed-off-by: Tobias Germer <tobias.germer@tui.com>
Co-authored-by: Zbynek Roubalik <zroubalik@gmail.com>
Signed-off-by: Michael Pechner <mikey@mikey.com>
dpochopsky pushed a commit to dpochopsky/keda that referenced this pull request Sep 12, 2025
…dacore#6700)

* Replace deprecated webhook.Validator with webhook.CustomValidator

Signed-off-by: Tobias Germer <tobias.germer@tui.com>

* Fix SetupWebhookWithManager

Signed-off-by: Tobias Germer <tobias.germer@tui.com>

---------

Signed-off-by: Tobias Germer <tobias.germer@tui.com>
Co-authored-by: Zbynek Roubalik <zroubalik@gmail.com>
Signed-off-by: David Pochopsky <david.pochopsky@united.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade controller-runtime dependency to v0.20.2 to not block downstream module imports

7 participants