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 copy variables files from Packer 2020-11-09 14:35:02 -05:00
hclutil chore: fix incorrect docstring formatting. 2021-08-30 11:08:12 +02:00
test-fixtures Expose Consul template configuration parameters (#11606) 2022-01-10 10:19:07 -05:00
functions.go
hcl_conversions.go tests: add tests for invalid syntax cases 2021-02-01 12:51:51 -05:00
helper_test.go appease deadcode linter 2020-11-12 11:44:49 -05:00
parse.go check and return error from parsing var-files (#10569) 2021-05-12 09:08:59 -04:00
parse_job.go appease deadcode linter 2020-11-12 11:44:49 -05:00
parse_map.go Restrict HCL special casing of map[string]interface{} fields 2020-11-12 11:35:39 -05:00
parse_test.go Expose Consul template configuration parameters (#11606) 2022-01-10 10:19:07 -05:00
types.config.go hcl2: handle unquoted undefined variables (#10419) 2021-04-21 13:24:22 -04:00
types.variables.go jobspec2: ensure consistent error handling between var-file & var. 2021-09-09 11:18:11 +02:00