Skip to content

Eaglessoft/kong-plugins

Repository files navigation

Kong External Plugins

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.

Layout

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/

Plugins

Installation Models

Individual plugin package

Each plugin ships its own .rockspec file inside its plugin directory.

Examples:

Install one plugin:

cd edge-cors-policy
luarocks make

Or from a built .rock artifact:

luarocks install kong-plugin-edge-cors-policy-1.0.0-1.all.rock

Bundle package

The 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.rockspec

Important: 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-enricher

Kubernetes Examples

Infra examples are grouped by plugin under infra/.

Each folder contains examples for:

  • KongPlugin
  • KongClusterPlugin
  • Ingress
  • HTTPRoute

Use them as templates only. Adjust namespace, hosts, service names, and plugin config values for your environment.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages