Managing Kong Configuration as Code
Kong Native Solution Kong has its own native implementation of declarative config management. This is called db-less mode and as the name implies there is no database, instead the config is stored in a yaml file and is loaded into memory at start up and can also be refreshed. The yaml config is loaded into memory on each kong server individually so there is scope for having the config out of sync between kong servers. Not all plugins are supported on kong running in db-less mode, the most significant for us is the Oauth plugin, which is currently being used extensively, requires a db. https://docs.konghq.com/1.3.x/db-less-and-declarative-config/ Open Source Tools For the POC I used decK to manage the configuration. There are other utilities eg. kongfig and Maples7/kong-config-manager. But all the tools I looked at suffered from the same issue in that they do not directly integrate with vault and we don’t want to store kong secrets in gitlab. To get around this we will need to store s