A tool for Kong to allow declarative configuration.
Simply define your list of api's and consumers in json and then run kongfig to ensure that your Kong is configured correctly.
We recommend installing Kongfig globally
npm install -g kongfig
Use our Puppet-Kongfig module to install and configure Kongfig
puppet module install mybuilder-kongfig
You can follow the quick start to get going in 5 minutes.
You can have your config in json, yaml, or js if you need to support multiple environments.
kongfig apply --path config.yml --host localhost:8001
You can dump the existing configuration to a file or view it on a screen
kongfig dump --host localhost:8001 > config.yml
You can omit the
--host
option if kong is onlocalhost:8001
as this is the default value
You can specify the desired format by giving --format
option with possible options of json
, yaml
, or screen
that prints the config with colours.
kongfig dump --format screen
Created by MyBuilder - Check out our blog for more information and our other open-source projects.
We are very grateful for any contributions you can make to the project.
Visit the Contributing documentation for submission guidelines.