This project is under active development and not usable yet
Gslb driver for Hashicorp Consul.
-
make test
Run tests. -
make build
builds golang app locally. -
make docker-build
build docker image locally. -
make docker-push
push container image to registry. -
make run
spins up local Docker containers so you can access via web or command line. -
make test
runs all tests locally. -
make rsh
spins up a temporary container based on the built image and gives you a bash inside that container. -
make debug
spins up a temporary container based on the build image with sleep entrypoint, and gives you a bash inside that container to debug in case container stops immediately.
Fill a config.yaml
file such as the one in config.example.yaml
. You can also set ENV vars corresponding to those values. Then run with:
consul-gslb-driver -c=<path-to-config> <extra-flags>
Note that the order will be:
- flags
- env vars:
CONSULGSLB_*
- config: in current dir, and then in homedir
- default cobra Pflag values
- default value in newConfig()
See consul-gslb-driver --help
for more info.
If you find a security vulnerability or any security related issues, please DO NOT file a public issue, instead send your report privately to cloud@snapp.cab. Security reports are greatly appreciated and we will publicly thank you for it.
Apache-2.0 License, see LICENSE.