Skip to content

Commit 6aee2e2

Browse files
committed
add missing wasm parameters
1 parent e4552ff commit 6aee2e2

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

charts/apisix/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,11 @@ The command removes all the Kubernetes components associated with the chart and
133133
| apisix.vault.prefix | string | `""` | Prefix allows you to better enforcement of policies. |
134134
| apisix.vault.timeout | int | `10` | HTTP timeout for each request. |
135135
| apisix.vault.token | string | `""` | The generated token from vault instance that can grant access to read data from the vault. |
136-
| apisix.wasm.enabled | bool | `false` | Enable Wasm Plugins. See [wasm plugin](https://apisix.apache.org/docs/apisix/next/wasm/) |
137-
| apisix.wasm.plugins | list | `[]` | |
136+
| apisix.wasm.enabled | bool | `false` | Enable Wasm Plugins. See [wasm plugin](https://apisix.apache.org/docs/apisix/next/wasm/). |
137+
| apisix.wasm.file | string | `""` | Set path to Wasm plugin. |
138+
| apisix.wasm.http_request_phase | string | `"rewrite"` | Set the HTTP request phase in which the plugin should run. |
139+
| apisix.wasm.plugins | list | `[]` | Set Wasm plugin name. |
140+
| apisix.wasm.priority | int | `7999` | Set wasm plugin priority. |
138141
| autoscaling.enabled | bool | `false` | |
139142
| autoscaling.maxReplicas | int | `100` | |
140143
| autoscaling.minReplicas | int | `1` | |

charts/apisix/values.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,9 +554,16 @@ apisix:
554554
cmd: ["/path/to/apisix-plugin-runner/runner", "run"]
555555

556556
wasm:
557-
# -- Enable Wasm Plugins. See [wasm plugin](https://apisix.apache.org/docs/apisix/next/wasm/)
557+
# -- Enable Wasm Plugins. See [wasm plugin](https://apisix.apache.org/docs/apisix/next/wasm/).
558558
enabled: false
559+
# -- Set Wasm plugin name.
559560
plugins: []
561+
# -- Set wasm plugin priority.
562+
priority: 7999
563+
# -- Set path to Wasm plugin.
564+
file: ""
565+
# -- Set the HTTP request phase in which the plugin should run.
566+
http_request_phase: rewrite
560567

561568
# -- customPlugins allows you to mount your own HTTP plugins.
562569
customPlugins:

0 commit comments

Comments
 (0)