diff --git a/envoy/api/v2/route/route.proto b/envoy/api/v2/route/route.proto index 0ef7b038..59b7239e 100644 --- a/envoy/api/v2/route/route.proto +++ b/envoy/api/v2/route/route.proto @@ -159,6 +159,33 @@ message WeightedCluster { // cluster with metadata matching that set in metadata_match will be // considered. The filter name should be specified as *envoy.lb*. Metadata metadata_match = 3; + + // [#not-implemented-hide:] + // Specifies a list of headers to be added to requests when this cluster is selected + // through the enclosing :ref:`envoy_api_msg_route.RouteAction`. + // Headers specified at this level are applied before headers from the enclosing + // :ref:`envoy_api_msg_route.RouteAction`, + // :ref:`envoy_api_msg_route.VirtualHost`, and + // :ref:`envoy_api_msg_route.RouteConfiguration`. For more information, including details on + // header value syntax, see the documentation on :ref:`custom request headers + // `. + repeated HeaderValueOption request_headers_to_add = 4; + + // [#not-implemented-hide:] + // Specifies a list of headers to be added to responses when this cluster is selected + // through the enclosing :ref:`envoy_api_msg_route.RouteAction`. + // Headers specified at this level are applied before headers from the enclosing + // :ref:`envoy_api_msg_route.RouteAction`, + // :ref:`envoy_api_msg_route.VirtualHost`, and + // :ref:`envoy_api_msg_route.RouteConfiguration`. For more information, including details on + // header value syntax, see the documentation on :ref:`custom request headers + // `. + repeated HeaderValueOption response_headers_to_add = 5; + + // [#not-implemented-hide:] + // Specifies a list of headers to be removed from responses when this cluster is selected + // through the enclosing :ref:`envoy_api_msg_route.RouteAction`. + repeated string response_headers_to_remove = 6; } // Specifies one or more upstream clusters associated with the route.