Would you mind clarifying a couple of items:
- Are you looking to only manage plugin config/enable? And/or,
- Add plugins that aren’t natively with a Kong deployment?
If just the first item, we use some basic scripts & curl to manage configuration in what call “bootstrap”. This is separate than plugins we use for API policies. Those are managed through the admin api proxy endpoint. That process is handled in our CI/CD process and leveraged changes triggered from our source code management system.
If both are needed, we build Docker images with the specific luarocks install step and then pass KONG_CUSTOM_PLUGINS (https://docs.konghq.com/0.11.x/configuration/#custom_plugins) env variable in the manifest. The changes are push through a CI/CD process.