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 webhook panic error caused by bumping controller-runtime #554

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

jwsui
Copy link
Contributor

@jwsui jwsui commented Apr 24, 2024

The controller-manager won't automatically inject decoder to webhook handler in new implementation, which will cause the panic error of webhook. Use admission.NewDecoder(scheme) instead as it is now the only way to instantiate default decoder.

kubernetes-sigs/controller-runtime#2736

The controller-manager won't automatically inject decoder to webhook handler in new implementation, which
will cause the panic error of webhook. Use admission.NewDecoder(scheme) instead as it is now the only way
to instantiate default decoder.

kubernetes-sigs/controller-runtime#2736
@jwsui jwsui merged commit ebac866 into vmware-tanzu:main Apr 26, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants