Conversation
juzhiyuan
approved these changes
Sep 23, 2025
Member
Author
|
These parameters are indeed missing from the docs but the updated parameter levels seem wrong. |
nic-6443
requested changes
Apr 25, 2026
| # -- Set wasm plugin priority. | ||
| priority: 7999 | ||
| # -- Set path to Wasm plugin. | ||
| file: "" |
Member
There was a problem hiding this comment.
priority, file, and http_request_phase are per-plugin properties in APISIX's config, not top-level wasm settings. The existing configmap template just does toYaml .Values.apisix.wasm.plugins, so these top-level values won't be used in the generated config at all.
The correct structure should have these as fields within each plugin entry:
wasm:
enabled: false
plugins:
- name: "example-plugin"
priority: 7999
file: "/path/to/plugin.wasm"
http_request_phase: "rewrite"As-is, setting apisix.wasm.priority or apisix.wasm.file would have no effect on the rendered config. The docs should show the correct per-plugin structure instead.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wasm's
priority,file, andhttp_request_phasewere previously documented but got removed in #415 which switched to usinghelm-docsto generate the docs.The missed configuration could lead to:
This PR adds these parameters back.