subset: allow matching metadata criteria with any element in list (#7047)
This makes it possible to configure the subset LB to match metadata match criterias with any of the values specified in a list value on an endpoint. This allows endpoints to have multiple values for a given metadata key. To accomplish this the invariants of the subset trie construction changed: a host can now be associated with multiple subsets for a set of subset selectors. To support this the trie construction had to change to traverse all possible paths for each host. Fixes #6921 Signed-off-by: Snow Pettersen <snowp@squareup.com> Mirrored from https://github.com/envoyproxy/envoy @ 41ecbb3e4bd48b425483e7c3aae17509f2ef3a80pull/620/head
parent
7c09e8d002
commit
f3e87b6267
1 changed files with 5 additions and 0 deletions
Loading…
Reference in new issue