Skip to content

v0.6.3

Compare
Choose a tag to compare
@kelseyhightower kelseyhightower released this 08 Oct 23:54
· 526 commits to master since this release

This is a bug fix release:

  • the env backend now uses pattern matching to mimc recursion. It now works just like etcd, you now longer have to list all the keys in the template resource toml file.

For example, instead of having to do this when using the env backend:

[template]
src = "nginx.tmpl"
dest = "/tmp/nginx.conf"
keys = [
  "/nginx/services/a/name",
  "/nginx/services/a/address",
  "/nginx/services/a/shortname",
  "/nginx/services/b/name",
  "/nginx/services/b/address",
  "/nginx/services/b/shortname",
]

You can do this:

[template]
src = "nginx.tmpl"
dest = "/tmp/nginx.conf"
keys = [
  "/nginx/services",
]