[thrift_proxy] Add metadata_match to RouteAction and WeightedClusters (#4402)
This change adds the ability to attach metadata to the clusters and weighted clusters to allow users to filter a down to instances that match metadata criteria provided. This is used only when the subset load balancer is enabled and leverages what exists already for http metadata matching. Changes include: - construct MetadataMatchCriteria objects from protobufs - expose through Thrift::Router::RouteEntry and use in router impl Risk Level: LOW Testing: tests, new and old, pass Docs Changes: added description for new proto fields. docs build successfully. Release Notes: n/a Signed-off-by: Brian Ramos <brirams@users.noreply.github.com> Mirrored from https://github.com/envoyproxy/envoy @ c32aed93f5d27e8cbd17c1c47cf928d7e8115af4pull/620/head
parent
4bb50d524f
commit
a729a8fc58
1 changed files with 16 additions and 0 deletions
Loading…
Reference in new issue