open-nomad/jobspec2
Derek Strickland 0a8e03f0f7
Expose Consul template configuration parameters (#11606)
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>
2022-01-10 10:19:07 -05:00
..
addrs
hclutil
test-fixtures Expose Consul template configuration parameters (#11606) 2022-01-10 10:19:07 -05:00
functions.go
hcl_conversions.go
helper_test.go
parse.go
parse_job.go
parse_map.go
parse_test.go Expose Consul template configuration parameters (#11606) 2022-01-10 10:19:07 -05:00
types.config.go
types.variables.go jobspec2: ensure consistent error handling between var-file & var. 2021-09-09 11:18:11 +02:00