7f33b92e0b
Consul CLI uses CONSUL_HTTP_TOKEN, so Nomad should use the same. Note that consul-template uses CONSUL_TOKEN, which Nomad also uses, so be careful to preserve any reference to that in the consul-template context. |
||
---|---|---|
.. | ||
autopilot.go | ||
autopilot_test.go | ||
consul.go | ||
consul_test.go | ||
limits.go | ||
limits_test.go | ||
plugins.go | ||
plugins_test.go | ||
README.md | ||
sentinel.go | ||
tls.go | ||
tls_test.go | ||
vault.go | ||
vault_test.go |
Overview
nomad/structs/config
is a package for configuration struct
s that are
shared among packages that needs the same struct
definitions, but can't
import each other without creating a cyle. This config
package must be
terminal in the import graph (or very close to terminal in the dependency
graph).