Envoy Gateway pod crashes when mergeGateway
is enabled
#2661
Labels
area/translator
Issues related to Gateway's translation service, e.g. translating Gateway APIs into the IR.
kind/bug
Something isn't working
Description:
When creating a
ClientTrafficPolicy
and enabling theMergeGateways
flag, the Envoy-Gateway pod crashes with a nil-pointer exception. Upon investigation, it was found that the crash occurs during translating theclientTrafficPolicy
to a listener, as the key used to look up thexdsIR
map is the namespaced name of theclientTrafficPolicy
here.However, during the
initIR
function the key assigned to thisclientTrafficPolicy
is theGatewayClass
name when theMergeGateways
is enabled (here).The
MergeGateways
field should be taken into account during thexdsIR
map lookup.Repro steps:
Gateway:
ClientTrafficPolicy:
EnvoyProxy:
Logs:
The text was updated successfully, but these errors were encountered: