Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker example to v3 api #196

Merged
merged 4 commits into from
Nov 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions examples/envoy/proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ static_resources:
codec_type: AUTO
stat_prefix: ingress
http_filters:
- name: envoy.rate_limit
config:
- name: envoy.filters.http.ratelimit
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.ratelimit.v3.RateLimit
domain: rl
request_type: external
stage: 0
Expand All @@ -74,7 +75,7 @@ static_resources:
rate_limits:
- actions:
- source_cluster: {} # This action's value is populated by the "service-cluster" arg passed in when starting Envoy. In this example, it's "proxy" (see docker-compose-example.yml)
- destination_cluster: {} # This action's value is populated by the value set in the above "cluster" field -- "mock"
- destination_cluster: {} # This action's value is populated by the value set in the above egress "cluster" field -- "mock"
- match:
prefix: /header
route:
Expand Down