You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "Baoyuantop (via GitHub)" <gi...@apache.org> on 2026/04/08 09:39:17 UTC
Re: [I] [help request ] 如何配置自定义的插件 [apisix-helm-chart]
Baoyuantop commented on issue #790:
URL: https://github.com/apache/apisix-helm-chart/issues/790#issuecomment-4205299621
The current chart supports custom plugins via `apisix.customPlugins` in `values.yaml` (lines 580-600):
```yaml
apisix:
customPlugins:
enabled: true
luaPath: "/opts/custom_plugins/?.lua"
plugins:
- name: "your-plugin-name"
attrs: {}
configMap:
name: "your-configmap"
mounts:
- key: "plugin-file.lua"
path: "/opts/custom_plugins"
```
Additionally, `apisix.luaModuleHook` (lines 290-306) provides another way to inject custom Lua modules with `luaPath` and `hookPoint` settings. Store your plugin code in a ConfigMap and reference it in the chart values.
Closing as this is a usage question. If you still need help, please feel free to reopen.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org