mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
This PR exposes the following existing`consul-template` configuration options to Nomad jobspec authors in the `{job.group.task.template}` stanza.
- `wait`
It also exposes the following`consul-template` configuration to Nomad operators in the `{client.template}` stanza.
- `max_stale`
- `block_query_wait`
- `consul_retry`
- `vault_retry`
- `wait`
Finally, it adds the following new Nomad-specific configuration to the `{client.template}` stanza that allows Operators to set bounds on what `jobspec` authors configure.
- `wait_bounds`
Co-authored-by: Tim Gross <tgross@hashicorp.com>
Co-authored-by: Michael Schurter <mschurter@hashicorp.com>
7 lines
374 B
Plaintext
7 lines
374 B
Plaintext
```release-note:improvement
|
|
template: Expose consul-template configuration options at the client level for `consul_retry`,
|
|
`vault_retry`, `max_stale`, `block_query_wait` and `wait`. Expose per-template configuration
|
|
for wait that will override the client level configuration. Add `wait_bounds` to
|
|
allow operators to constrain per-template overrides at the client level.
|
|
```
|