Skip to content

Commit 5e743e9

Browse files
Add wasm plugin fail strategy reload (#3471)
1 parent 43c4258 commit 5e743e9

File tree

4 files changed

+27
-5
lines changed

4 files changed

+27
-5
lines changed

extensions/v1alpha1/wasm.pb.go

Lines changed: 11 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/v1alpha1/wasm.pb.html

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/v1alpha1/wasm.proto

Lines changed: 5 additions & 0 deletions
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

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)