This is a backwards incompatible release. Confd has seen a lot of changes over the last year and it's time to clean thing up a bit. Most users will have to update their Go templates to use the new template functions, others may have to adjust configuration files and command line args.
Since there are a lot of changes in this release 0.5.x will be around for a few more months. This clean up is an effort to get to 1.0 and add watch support for consul and etcd. Please kick the tires and offer feedback.
Release Notes:
- All the old template functions have been removed in this release and are being replaced. See the new templates doc
- etcd specific command line flags have be removed. All flags now work with all backends.
- Keys can only be accessed via template functions (get, gets, getv, and getvs) No more
{{.key_subkey}}
. See the new templates doc - Template functions stop execution if keys are not found. Before the default value of a string was returned
- Updated docs
- Confd uses an internal key/value store. See memkv
- Support SRV DNS records for consul
- Switch to the new consul-api Go library
- Keys must use the "/" prefix inside templates and TOML configs
- New flag: -keep-stage-file, to keep the stage files around after confd exits and log the full path to the staged file.
Updated docs for the 0.6.x release can be found here: https://github.com/kelseyhightower/confd/tree/0.6.x/docs