-
Notifications
You must be signed in to change notification settings - Fork 591
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
Admission server's logger is uninitialized #1954
Labels
Comments
Fixed in 2.0.4 via #1955 Thanks for reporting and patching this @zackrobichaud 🖖 |
Awesome, thanks for taking a look and merging so quickly! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Current Behavior
When the KIC is using the admission server, invalid plugin configurations result in a panic and incorrect message back to the users since the
RequestHandler
's logger in nil.Requesthandler
is created here and the Logger is not set. When an invalid plugin is configured andServeHTTP
attempts to log the error , it panics as theLogger == nil
.Results in a panic in the logs
The user (in this case client using
kubectl
) see's the following errorExpected Behavior
KIC should not panic, log the proper error, and the user should see a proper error message back from the validating webhook
Steps To Reproduce
Kong Ingress Controller version
Kubernetes version
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: