Skip to content

Commit 01dc2eb

Browse files
Add wasm plugin fail strategy reload
1 parent 81bc190 commit 01dc2eb

File tree

4 files changed

+30
-8
lines changed

4 files changed

+30
-8
lines changed

extensions/v1alpha1/wasm.pb.go

+14-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/v1alpha1/wasm.pb.html

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/v1alpha1/wasm.proto

+5
Original file line numberDiff line numberDiff line change
@@ -500,4 +500,9 @@ enum FailStrategy {
500500
// binary, an exception, or abort() on the VM. This flag is not recommended
501501
// for the authentication or the authorization plugins.
502502
FAIL_OPEN = 1;
503+
504+
// New plugin instance will be created for the new request if the Wasm plugin
505+
// has failed. This only applies for ``proxy_wasm::FailState::RuntimeError``.
506+
// For all other error types this will fallback to ``FAIL_CLOSED``.
507+
FAIL_RELOAD = 2;
503508
}

kubernetes/customresourcedefinitions.gen.yaml

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)