This directory contains the external Kong plugins maintained in this repository, their individual .rockspec packages, a bundle .rockspec, and Kubernetes example manifests grouped by plugin.
external_plugins/
README.md
kong-plugins-bundle-1.0.0-1.rockspec
edge-cors-policy/
edge-header-policy/
jwt-auth-context/
graph-context-enricher/
infra/
edge-cors-policy/
edge-header-policy/
jwt-auth-context/
graph-context-enricher/
Each plugin ships its own .rockspec file inside its plugin directory.
Examples:
- edge-cors-policy rockspec
- edge-header-policy rockspec
- jwt-auth-context rockspec
- graph-context-enricher rockspec
Install one plugin:
cd edge-cors-policy
luarocks makeOr from a built .rock artifact:
luarocks install kong-plugin-edge-cors-policy-1.0.0-1.all.rockThe repository root of external_plugins also ships a bundle rockspec:
This installs multiple plugin modules through one LuaRocks package:
cd external_plugins
luarocks make kong-plugins-bundle-1.0.0-1.rockspecImportant: the bundle only changes packaging. Kong runtime activation is still per plugin name:
export KONG_PLUGINS=bundled,edge-cors-policy,edge-header-policy,jwt-auth-context,graph-context-enricherInfra examples are grouped by plugin under infra/.
- edge-cors-policy examples
- edge-header-policy examples
- jwt-auth-context examples
- graph-context-enricher examples
Each folder contains examples for:
KongPluginKongClusterPluginIngressHTTPRoute
Use them as templates only. Adjust namespace, hosts, service names, and plugin config values for your environment.