open-nomad/jobspec
Seth Hoenig db865e05d8 connect: enable configuring sidecar_task.name
Before, the submitted jobspec for sidecar_task would pass
through 2 key validation steps - once for the subset specific
to connect sidecar task definitions, and once again for the set
of normal task definition where the task would actually get
unmarshalled.

The valid keys for the normal task definition did not include
"name", which is supposed to be configurable for the sidecar
task. To fix this, just eliminate the double validation step,
and instead pass-in the correct set of keys to validate against
to the one generic task parser.

Fixes #7680
2020-04-09 21:01:16 -06:00
..
test-fixtures connect: enable configuring sidecar_task.name 2020-04-09 21:01:16 -06:00
parse.go core: add semver constraint 2019-11-19 08:40:19 -08:00
parse_group.go scaling: ensure min and max int64s are in toplevel of block. 2020-03-24 13:57:15 +00:00
parse_job.go command, docs: create and document consul token configuration for connect acls (gh-6716) 2020-01-31 19:02:53 -06:00
parse_network.go quota: parse network stanza in quotas (#6511) 2019-10-24 10:41:54 -04:00
parse_service.go connect: enable configuring sidecar_task.name 2020-04-09 21:01:16 -06:00
parse_task.go connect: enable configuring sidecar_task.name 2020-04-09 21:01:16 -06:00
parse_test.go connect: enable configuring sidecar_task.name 2020-04-09 21:01:16 -06:00
utils.go consul: add Connect structs 2019-08-06 08:15:07 -07:00
utils_test.go consul: add Connect structs 2019-08-06 08:15:07 -07:00