docs: fix wasm plugin configuration structure
diff --git a/charts/apisix/README.md b/charts/apisix/README.md index c43c4d0..ea6a3db 100644 --- a/charts/apisix/README.md +++ b/charts/apisix/README.md
@@ -134,10 +134,7 @@ | 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.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. | +| apisix.wasm.plugins | list | `[]` | Set Wasm plugins. Each item supports fields such as name, priority, file, and http_request_phase. | | 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 9fd7889..42c9828 100644 --- a/charts/apisix/values.yaml +++ b/charts/apisix/values.yaml
@@ -556,14 +556,13 @@ wasm: # -- Enable Wasm Plugins. See [wasm plugin](https://apisix.apache.org/docs/apisix/next/wasm/). enabled: false - # -- Set Wasm plugin name. + # -- Set Wasm plugins. Each item supports fields such as name, priority, file, and http_request_phase. + # plugins: + # - name: "example-plugin" + # priority: 7999 + # file: "/path/to/plugin.wasm" + # http_request_phase: "rewrite" 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: