open-nomad/jobspec2
Luiz Aoqui e3d78c343c
template: set default UID/GID to -1 (#13998)
UID/GID 0 is usually reserved for the root user/group. While Nomad
clients are expected to run as root it may not always be the case.

Setting these values as -1 if not defined will fallback to the pervious
behaviour of not attempting to set file ownership and use whatever
UID/GID the Nomad agent is running as. It will also keep backwards
compatibility, which is specially important for platforms where this
feature is not supported, like Windows.
2022-08-04 11:26:08 -04: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 template: set default UID/GID to -1 (#13998) 2022-08-04 11:26:08 -04: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