Skip to content

Commit 99b0949

Browse files
ext_proc: add failure_mode_allow per route override (#40014)
Risk Level: Low Testing: Added ext_proc unit tests Docs Changes: N/A Release Notes: N/A Platform Specific Features: N/A --------- Signed-off-by: Andres Guedez <[email protected]> Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Mirrored from https://github.com/envoyproxy/envoy @ 58fce3a7c8b585fd4bfd463497b8dc8a311c46ab
1 parent e2a1178 commit 99b0949

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

envoy/extensions/filters/http/ext_proc/v3/ext_proc.proto

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import "envoy/type/matcher/v3/string.proto";
1212

1313
import "google/protobuf/duration.proto";
1414
import "google/protobuf/struct.proto";
15+
import "google/protobuf/wrappers.proto";
1516

1617
import "xds/annotations/v3/status.proto";
1718

@@ -417,7 +418,7 @@ message ExtProcPerRoute {
417418
}
418419

419420
// Overrides that may be set on a per-route basis
420-
// [#next-free-field: 8]
421+
// [#next-free-field: 9]
421422
message ExtProcOverrides {
422423
// Set a different processing mode for this route than the default.
423424
ProcessingMode processing_mode = 1;
@@ -451,4 +452,9 @@ message ExtProcOverrides {
451452
// authorization headers (e.g. ``x-foo-bar: baz-key``) are to be injected or
452453
// when a route needs to partially override inherited metadata.
453454
repeated config.core.v3.HeaderValue grpc_initial_metadata = 7;
455+
456+
// If true, the filter will not fail closed if the gRPC stream is prematurely closed
457+
// or could not be opened. This field is the per-route override of
458+
// :ref:`failure_mode_allow <envoy_v3_api_field_extensions.filters.http.ext_proc.v3.ExternalProcessor.failure_mode_allow>`.
459+
google.protobuf.BoolValue failure_mode_allow = 8;
454460
}

0 commit comments

Comments
 (0)