You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by tr...@apache.org on 2025/09/05 10:21:18 UTC
(apisix-helm-chart) 01/01: add missing wasm parameters
This is an automated email from the ASF dual-hosted git repository.
traky pushed a commit to branch docs-add-wasm
in repository https://gitbox.apache.org/repos/asf/apisix-helm-chart.git
commit 6aee2e21f1fada86eecdb35c0ca94b0cc79ba3bc
Author: traky <tr...@gmail.com>
AuthorDate: Fri Sep 5 18:21:07 2025 +0800
add missing wasm parameters
---
charts/apisix/README.md | 7 +++++--
charts/apisix/values.yaml | 9 ++++++++-
2 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/charts/apisix/README.md b/charts/apisix/README.md
index a43a21a..c43c4d0 100644
--- a/charts/apisix/README.md
+++ b/charts/apisix/README.md
@@ -133,8 +133,11 @@ The command removes all the Kubernetes components associated with the chart and
| apisix.vault.prefix | string | `""` | Prefix allows you to better enforcement of policies. |
| apisix.vault.timeout | int | `10` | HTTP timeout for each request. |
| apisix.vault.token | string | `""` | The generated token from vault instance that can grant access to read data from the vault. |
-| apisix.wasm.enabled | bool | `false` | Enable Wasm Plugins. See [wasm plugin](https://apisix.apache.org/docs/apisix/next/wasm/) |
-| apisix.wasm.plugins | list | `[]` | |
+| apisix.wasm.enabled | bool | `false` | Enable Wasm Plugins. See [wasm plugin](https://apisix.apache.org/docs/apisix/next/wasm/). |
+| apisix.wasm.file | string | `""` | Set path to Wasm plugin. |
+| apisix.wasm.http_request_phase | string | `"rewrite"` | Set the HTTP request phase in which the plugin should run. |
+| apisix.wasm.plugins | list | `[]` | Set Wasm plugin name. |
+| apisix.wasm.priority | int | `7999` | Set wasm plugin priority. |
| autoscaling.enabled | bool | `false` | |
| autoscaling.maxReplicas | int | `100` | |
| autoscaling.minReplicas | int | `1` | |
diff --git a/charts/apisix/values.yaml b/charts/apisix/values.yaml
index de5ad50..9fd7889 100644
--- a/charts/apisix/values.yaml
+++ b/charts/apisix/values.yaml
@@ -554,9 +554,16 @@ apisix:
cmd: ["/path/to/apisix-plugin-runner/runner", "run"]
wasm:
- # -- Enable Wasm Plugins. See [wasm plugin](https://apisix.apache.org/docs/apisix/next/wasm/)
+ # -- Enable Wasm Plugins. See [wasm plugin](https://apisix.apache.org/docs/apisix/next/wasm/).
enabled: false
+ # -- Set Wasm plugin name.
plugins: []
+ # -- Set wasm plugin priority.
+ priority: 7999
+ # -- Set path to Wasm plugin.
+ file: ""
+ # -- Set the HTTP request phase in which the plugin should run.
+ http_request_phase: rewrite
# -- customPlugins allows you to mount your own HTTP plugins.
customPlugins: