open-nomad/jobspec2
Piotr Kazmierczak 530280505f
client: enable specifying user/group permissions in the template stanza (#13755)
* Adds Uid/Gid parameters to template.

* Updated diff_test

* fixed order

* update jobspec and api

* removed obsolete code

* helper functions for jobspec parse test

* updated documentation

* adjusted API jobs test.

* propagate uid/gid setting to job_endpoint

* adjusted job_endpoint tests

* making uid/gid into pointers

* refactor

* updated documentation

* updated documentation

* Update client/allocrunner/taskrunner/template/template_test.go

Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>

* Update website/content/api-docs/json-jobs.mdx

Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>

* propagating documentation change from Luiz

* formatting

* changelog entry

* changed changelog entry

Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2022-08-02 22:15:38 +02: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 add filebase64 function (#11791) 2022-06-06 11:58:17 -04:00
hcl_conversions.go tests: add tests for invalid syntax cases 2021-02-01 12:51:51 -05:00
parse.go api: prevent excessice CPU load on job parse 2022-02-09 19:51:47 -05:00
parse_job.go client: enable specifying user/group permissions in the template stanza (#13755) 2022-08-02 22:15:38 +02:00
parse_map.go Restrict HCL special casing of map[string]interface{} fields 2020-11-12 11:35:39 -05:00
parse_test.go ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -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