Baoyuantop commented on issue #155:
URL:
https://github.com/apache/apisix-helm-chart/issues/155#issuecomment-4205374829
For third-party plugins (e.g., Go plugins) in a Kubernetes environment, the
chart supports:
1. **Custom plugins via ConfigMap** (values.yaml lines 580-600):
```yaml
apisix:
customPlugins:
enabled: true
luaPath: "/opts/custom_plugins/?.lua"
plugins:
- name: "your-plugin"
configMap:
name: "plugin-configmap"
mounts:
- key: "plugin.lua"
path: "/opts/custom_plugins"
```
2. **External plugin runners** (Go/Python/Java) via sidecar containers:
```yaml
extraContainers:
- name: go-runner
image: your-go-plugin-image
extraVolumes:
- name: plugin-socket
emptyDir: {}
extraVolumeMounts:
- name: plugin-socket
mountPath: /tmp/runner.sock
```
See `extraContainers` (line 135), `extraVolumes` (line 114), and
`extraVolumeMounts` (line 121) in values.yaml.
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]