Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.76 KB

NOTES.md

File metadata and controls

40 lines (34 loc) · 1.76 KB

Project goals

  • Add konga for development
  • Setup admin api setup script for konga
  • Setup deck for sync/dump of configuration
  • Create short simple make file alias for syncing to and from with deck
  • Automate basic kong setup starting by locking down admin api
  • [] Automate basic konga setup (admin user setup, connection setup, etc)
  • [] Test Konga with swarm kong setup
  • [] Break docker configuration into development and production
  • [] Lock down docker image versions and get to the latest of each
  • [] some sort of process manager might help to prevent race conditions on startup - especially true for the setup script and migrations
  • [] need to find a smart way to hide sensitive values from the configs - https://github.com/Kong/vault-kong-secrets
  • [] Docker compose env vs deck.yaml config - good to check presidence deck.yaml for defaults in the image then docker-compose can override?
  • [] switch to python vs bash for setup - going to need more powerful tooling for handling migrations for Konga (also propose to that project once POC is ready)

Setup

make kong-db-migrations make kong-db ./setup.sh

  • Manual setup setup connection with key provided by script
  • JQ might make output cleaner for setup script until we can automate with deck

Other notes

Check if any changes are present

docker-compose run kong-deck diff --state=/opt/kong/kong.yaml

Backup from DB

docker-compose run kong-deck dump  -o /opt/kong/kong-prod-test.yaml

Kong/deck#371

References