Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

envoy|catalog: use TrafficMatch to build inbound filter config #4814

Merged
merged 1 commit into from
Jun 14, 2022

Conversation

shashankram
Copy link
Member

Description:
Similar to how outbound filter config is built, this change
relies on the TrafficMatch type to build inbound filter
configs. The TrafficMatch has a 1-1 mapping to an Envoy
filter_chain config. This is necessary to be able to
cleanly apply TrafficMatch based policies (e.g. rate
limiting) without needing to rely on multiple catalog
APIs.

Part of #2018

Testing done:
Unit tests, CI

Affected area:

Functional Area
Control Plane [X]

Please answer the following questions with yes/no.

  1. Does this change contain code from or inspired by another project? no

    • Did you notify the maintainers and provide attribution?
  2. Is this a breaking change? no

  3. Has documentation corresponding to this change been updated in the osm-docs repo (if applicable)? n/a

Similar to how outbound filter config is built, this change
relies on the TrafficMatch type to build inbound filter
configs. The TrafficMatch has a 1-1 mapping to an Envoy
filter_chain config. This is necessary to be able to
cleanly apply TrafficMatch based policies (e.g. rate
limiting) without needing to rely on multiple catalog
APIs.

Part of openservicemesh#2018

Signed-off-by: Shashank Ram <shashr2204@gmail.com>
@shashankram shashankram marked this pull request as ready for review June 13, 2022 20:46
@shashankram shashankram merged commit 3f72969 into openservicemesh:main Jun 14, 2022
@shashankram shashankram deleted the rl-api branch June 14, 2022 18:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants