Consul-register allows you to define items in configuration and then register those items on a running consul cluster.
This is useful in situations where you have your infrastructure defined as code and want ensure that important parts of your consul configuration are also under version control.
Consul-register currently supports the registration and exporting of:
- ACLs
- External services
- Key/Value pairs
$ consul-register
consul-register v0.1.0 is a tool for managing consul runtime registrations.
Usage:
consul-register command [arguments]
The commands are:
apply Apply a list of actions to the consul server.
export Export consul configuration.
Use "consul-register help [command]" for more information about a command.
Please see example.json for the JSON structure that consul-register uses.
- Fork the repository on GitHub
- Create a named feature branch (i.e.
add-new-feature) - Write your change
- Submit a Pull Request
- William Bailey - @cowboysfromhell - (mail@williambailey.org.uk)
Licensed under a MIT license.