HeaderValueMatch support custom descriptor key (#20321)

Signed-off-by: hejianpeng <hejianpeng2@huawei.com>

Mirrored from https://github.com/envoyproxy/envoy @ b7e499b97c9f58aa4e4000aa111005aa0e3f5621
pull/626/head
data-plane-api(Azure Pipelines) 3 years ago
parent e67f288b95
commit e14c6be1e9
  1. 3
      envoy/config/route/v3/route_components.proto

@ -1793,6 +1793,9 @@ message RateLimit {
option (udpa.annotations.versioning).previous_message_type =
"envoy.api.v2.route.RateLimit.Action.HeaderValueMatch";
// The key to use in the descriptor entry. Defaults to `header_match`.
string descriptor_key = 4;
// The value to use in the descriptor entry.
string descriptor_value = 1 [(validate.rules).string = {min_len: 1}];

Loading…
Cancel
Save