Git Product home page Git Product logo

deck's Introduction

decK: Declarative configuration for Kong

decK provides declarative configuration and drift detection for Kong.

Build Status

asciicast

Table of Content

Features

  • Export
    Existing Kong configuration to a YAML configuration file This can be used to backup Kong's configuration.
  • Import
    Kong's database can be populated using the exported or a hand written config file.
  • Diff and sync capabilities
    decK can diff the configuration in the config file and the configuration in Kong's DB and then sync it as well. This can be used to detect config drifts or manual interventions.
  • Reverse sync
    decK supports a sync the other way as well, meaning if an entity is created in Kong and doesn't add it to the config file, decK will detect the change.
  • Validation
    decK can validate a YAML file that you backup or modify to catch errors early on.
  • Reset
    This can be used to drops all entities in Kong's DB.
  • Parallel operations
    All Admin API calls to Kong are executed in parallel using multiple threads to speed up the sync process.
  • Authentication with Kong Custom HTTP headers can be injected in requests to Kong's Admin API for authentication/authorization purposes.
  • Manage Kong's config with multiple config file
    Split your Kong's configuration into multiple logical files based on a shared set of tags amongst entities.
  • Designed to automate configuration management
    decK is designed to be part of your CI pipeline and can be used to not only push configuration to Kong but also detect drifts in configuration.

Compatibility

decK is compatible with Kong 1.x and Kong Enterprise >= 0.35.

Installation

macOS

If you are on macOS, install decK using brew:

$ brew tap hbagdi/deck
$ brew install deck

Linux

If you are Linux, you can either use the Debian or RPM archive from the Github release page or install by downloading the binary:

$ curl -sL https://github.com/hbagdi/deck/releases/download/v1.1.0/deck_1.1.0_linux_amd64.tar.gz -o deck.tar.gz
$ tar -xf deck.tar.gz -C /tmp
$ sudo cp /tmp/deck /usr/local/bin/

Docker image

Docker image is hosted on Docker Hub.

You can get the image with the command:

docker pull hbagdi/deck

Documentation

You can use --help flag once you've decK installed on your system to get help in the terminal itself.

The project's documentation site is https://deck.yolo42.com.

Changelog

Changelog can be found in the CHANGELOG.md file.

License

decK is licensed with Apache License Version 2.0. Please read the LICENSE file for more details.

deck's People

Contributors

cwurm avatar davidcv5 avatar digikin avatar hbagdi avatar lmika avatar malhotraamit236 avatar marcoam avatar matthewbednarski avatar mherwig avatar owlwalks avatar raittes avatar trollr avatar zeeshen avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.