diff --git a/envoy/api/v2/route/route.proto b/envoy/api/v2/route/route.proto index 9a8ec23c..884bdfc6 100644 --- a/envoy/api/v2/route/route.proto +++ b/envoy/api/v2/route/route.proto @@ -440,7 +440,7 @@ message CorsPolicy { core.RuntimeFractionalPercent shadow_enabled = 10; } -// [#comment:next free field: 26] +// [#comment:next free field: 27] message RouteAction { oneof cluster_specifier { option (validate.required) = true; @@ -772,6 +772,13 @@ message RouteAction { google.protobuf.BoolValue enabled = 2; }; repeated UpgradeConfig upgrade_configs = 25; + + // Configures :ref:`internal redirect ` behavior. + enum InternalRedirectAction { + PASS_THROUGH_INTERNAL_REDIRECT = 0; + HANDLE_INTERNAL_REDIRECT = 1; + } + InternalRedirectAction internal_redirect_action = 26; } // HTTP retry :ref:`architecture overview `.