docs: add missing deprecation docs (#3449)

Signed-off-by: Matt Klein <mklein@lyft.com>

Mirrored from https://github.com/envoyproxy/envoy @ 9db02a9c37a13f56d24ae10fc8e7e47539d47bf4
pull/620/head
data-plane-api(CircleCI) 7 years ago
parent ea93410567
commit b1f5c3d0c7
  1. 10
      envoy/api/v2/route/route.proto

@ -873,7 +873,10 @@ message HeaderMatcher {
// Specifies the value of the header. If the value is absent a request that // Specifies the value of the header. If the value is absent a request that
// has the name header will match, regardless of the headers value. // has the name header will match, regardless of the headers value.
string value = 2; //
// .. attention::
// Deprecated. Use :ref:`exact_match <envoy_api_field_route.HeaderMatcher.exact_match>` instead.
string value = 2 [deprecated = true];
// Specifies whether the header value is a regular // Specifies whether the header value is a regular
// expression or not. Defaults to false. The entire request header value must match the regex. The // expression or not. Defaults to false. The entire request header value must match the regex. The
@ -886,7 +889,10 @@ message HeaderMatcher {
// * The regex *\d{3}* matches the value *123* // * The regex *\d{3}* matches the value *123*
// * The regex *\d{3}* does not match the value *1234* // * The regex *\d{3}* does not match the value *1234*
// * The regex *\d{3}* does not match the value *123.456* // * The regex *\d{3}* does not match the value *123.456*
google.protobuf.BoolValue regex = 3; //
// .. attention::
// Deprecated. Use :ref:`regex_match <envoy_api_field_route.HeaderMatcher.regex_match>` instead.
google.protobuf.BoolValue regex = 3 [deprecated = true];
// Specifies how the header match will be performed to route the request. // Specifies how the header match will be performed to route the request.
// If header_match_specifier is absent, a request that has the // If header_match_specifier is absent, a request that has the

Loading…
Cancel
Save