confd

Manage local application configuration files using templates and data from etcd or consul

MIT License

Downloads
11
Stars
8.3K
Committers
108

Bot releases are visible (Hide)

confd - v0.6.0-alpha3

Published by kelseyhightower about 10 years ago

Features:

confd - v0.6.0-alpha2

Published by kelseyhightower about 10 years ago

This release adds the following features:

  • JSON template functions - json, and jsonArray
  • New flag: -keep-stage-file, to keep the stage files around after confd exits and log the full path to the staged file.
confd - v0.6.0-alpha1

Published by kelseyhightower over 10 years ago

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.

All work for the 0.6.0 release is being done on the 0.6.x branch.

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
confd - v0.5.0

Published by kelseyhightower over 10 years ago

Features:

  • Handle common shutdown signals and exit cleanly
  • Smaller confd binary
  • log reload_cmd and check_cmd output when running in debug mode
  • Support for multiple scoped resources using the same template. Templates get their own optional prefixes.

Bug fixes:

  • Update upstream consul client library - fixes to many open files issue because of unclosed HTTP request bodies
  • Update etcd client library
confd - v0.5.0-beta2

Published by kelseyhightower over 10 years ago

Build using Go 1.3

  • Smaller confd binary
confd - v0.5.0-beta1

Published by kelseyhightower over 10 years ago

Bug fixes:

  • Update upstream consul client library - fixes to many open files issue because of unclosed HTTP request bodies
  • Update etcd client library
  • log reload_cmd and check_cmd output when running in debug mode
  • Support for multiple scoped resources using the same template. Templates get their own optional prefixes.
confd - v0.4.1

Published by kelseyhightower over 10 years ago

  • etcd is the default backend. The -backend flag is now optional
  • New -version flag
confd - v0.4.0

Published by kelseyhightower over 10 years ago

This release adds initial support for Consul, the new service discovery and configuration solution from HashiCorp.

New features:

Bugs resolved:

  • The key prefix is now always prepended to the key before lookups
  • Always strip prefix from keys when prefix is defined
  • Usage examples for both etcd and consul

Binaries are now being distributed using the following naming convention: confd-0.4.0-darwin-amd64. Installation is now a matter of running the following commands:

curl -L https://github.com/kelseyhightower/confd/releases/download/v0.4.0/confd-0.4.0-darwin-amd64 -o confd
chmod +x confd
confd - v0.4.0-beta3

Published by kelseyhightower over 10 years ago

Bugs resolved:

  • Always strip prefix from keys when prefix is defined
  • Usage examples for both etcd and consul
confd - v0.4.0-beta2

Published by kelseyhightower over 10 years ago

Fixes confd panics when config specifies >1 etcd node.

confd - v0.4.0-beta1

Published by kelseyhightower over 10 years ago

This release adds initial support for Consul, the new service discovery and configuration solution from HashiCorp.

New features:

  • Add support for Consul

Bugs resolved:

  • The key prefix is now always prepended to the key before lookups

Binaries are now being distributed using the following naming convention: confd-0.4.0-beta1-darwin-amd64. Installation is now a matter of running the following commands:

curl -L https://github.com/kelseyhightower/confd/releases/download/v0.4.0-beta1/confd-0.4.0-beta1-darwin-amd64 -o confd
chmod +x confd
confd - 0.3.0

Published by kelseyhightower over 10 years ago

This version of confd adds support for etcd 0.3.x and complex iteration over etcd keys in Resource Templates. See the iteration example doc for more details.

confd - 0.3.0-beta1

Published by kelseyhightower almost 11 years ago

Add support for etcd 0.2.x

confd - v0.2.0

Published by kelseyhightower almost 11 years ago

This release includes the following new features:

  • New -noop flag enables noop mode, which only reports changes.
  • New -srv-domain flag adds support for etcd SRV records.
  • New -etcd-scheme flag to toggle the etcd scheme between http and https
  • New -verbose and -debug flags to better control logging output.

The -noop, -srv-domain, -etcd-scheme, -verbose, -debug and -quiet flags have matching options in the confd configuration file.

This release also makes the following non-backwards compatible changes:

Single letter command line flags are no longer in use. This is to help remove confusion and make confd easier to use out of the box. The following flags have been renamed:

  • -q renamed to -quiet
  • -C renamed to -config-file
  • -c renamed to -confdir
  • -n renamed to -node
  • -i renamed to -interval
  • -p renamed to -prefix

To help make the use of certain flags more clear, the following flags have been renamed:

  • -cert renamed to -client-cert
  • -key renamed to -client-key
confd - v0.2.0-beta1

Published by kelseyhightower almost 11 years ago

This beta release includes the following new features:

  • New -noop flag enables noop mode, which only reports changes.
  • New -srv-domain flag adds support for etcd SRV records.
  • New -etcd-scheme flag to toggle the etcd scheme between http and https
  • New -verbose and -debug flags to better control logging output.

The -noop, -srv-domain, -etcd-scheme, -verbose, -debug and -quiet flags have matching options in the confd configuration file.

This release also makes the following non-backwards compatible changes:

Single letter command line flags are no longer in use. This is to help remove confusion and make confd easier to use out of the box. The following flags have been renamed:

  • -q renamed to -quiet
  • -C renamed to -config-file
  • -c renamed to -confdir
  • -n renamed to -node
  • -i renamed to -interval
  • -p renamed to -prefix

To help make the use of certain flags more clear, the following flags have been renamed:

  • -cert renamed to -client-cert
  • -key renamed to -client-key
confd - v0.2.0-alpha1

Published by kelseyhightower almost 11 years ago

This alpha release includes the following new features:

  • New noop mode displays pending changes but does not modify the target config.
  • Support for etcd SRV records.
  • Ability to toggle the etcd scheme between http and https through configuration.
confd - v0.1.2

Published by kelseyhightower almost 11 years ago

The bug fix release includes the following changes:

  • Fix too many open tcp connections to etcd and corresponding memory leak.
  • Show node list in logs when unable to connect to etcd cluster.
  • Exit non-zero if any errors occur while processing template resources.
  • Exit non-zero if keys are missing from etcd.
  • An error is logged when the template resource config cannot be parsed.
  • An error is logged when the target config cannot be updated.
  • Better info messages when target config is out of sync.
  • Improved test coverage.
  • This release adds a quiet flag, -q, which silences confd non-error messages. Tests are run in quite mode by default.
confd - v0.1.2-rc4

Published by kelseyhightower almost 11 years ago

This release adds a quiet flag, -q, which silences confd non-error messages. Tests are run in quite mode by default.

confd - v0.1.2-rc3

Published by kelseyhightower almost 11 years ago

This release contains the following bug fixes:

  • Better info messages when target config is out of sync.
  • Improved test coverage.
confd - v0.1.2-rc2

Published by kelseyhightower almost 11 years ago

This release contains the following bug fixes:

  • Exit non-zero if keys are missing from etcd.
  • An error is logged when the template resource config cannot be parsed.
  • An error is logged when the target config cannot be updated.
Package Rankings
Top 1.38% on Proxy.golang.org
Top 27.45% on Formulae.brew.sh
Badges
Extracted from project README
Build Status