-
Notifications
You must be signed in to change notification settings - Fork 369
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
EnvoyGateway crashes (nil pointer) due to inappropriate AccessLog settings #1830
Comments
It seems to me, that the code lacks of nil pointer check before proceeding with the access log file type in lines 177 - 178. Thus when gateway/internal/gatewayapi/listener.go Lines 177 to 196 in 3999cdd
|
I recall all of these check should be part of validation check, maybe I just miss implement it. |
hi @zirain , interested to pick this one up. However need some clarity, about the validation check you refer, was that should be part of openapi schema or validation in the code level? |
Description:
Envoy Gateway crashes (nil pointer) when defining
EnvoyProxy
withAccessLog
enabled using theFile
sink type. It happened when we didn't provide thefile
content underspec.telemetry.accessLog.settings.sinks
.Repro steps:
Apply below
EnvoyProxy
manifest:Environment:
Envoy Gateway v0.5.0 and latest
Logs:
The text was updated successfully, but these errors were encountered: