Route match with dynamic_metadata

376 views
Skip to first unread message

Luciano Callero

unread,
Apr 19, 2022, 6:55:12 PM4/19/22
to envoy-users
Hi, envoy-users.

I've been trying and failing to match and route a request based on information added to the dynamic_metadata space after the request is successfully authenticated by an external auth-server, which is configured with gRPC.

I managed to debug the service_metadata space with Lua, I can print the info in the logs, but the service_metadata matcher apparently cannot access the information.

The related docs: https://www.envoyproxy.io/docs/envoy/v1.22.0/api-v3/type/matcher/v3/metadata.proto#envoy-v3-api-msg-type-matcher-v3-metadatamatcher

I've put a comment with the config details in the issue https://github.com/envoyproxy/envoy/issues/19910, which seems to be the same problem.

I appreciate any insights you could give.

Luciano Callero

unread,
Apr 19, 2022, 6:57:36 PM4/19/22
to envoy-users
Reply all
Reply to author
Forward
0 new messages