open-nomad/client/config
Michael Schurter 4ad0c258b9 client: add NOMAD_LICENSE to default env deny list
By default we should not expose the NOMAD_LICENSE environment variable
to tasks.

Also refactor where the DefaultEnvDenyList lives so we don't have to
maintain 2 copies of it. Since client/config is the most obvious
location, keep a reference there to its unfortunate home buried deep
in command/agent/host. Since the agent uses this list as well for the
/agent/host endpoint the list must be accessible from both command/agent
and client.
2021-09-21 13:51:17 -07:00
..
config.go client: add NOMAD_LICENSE to default env deny list 2021-09-21 13:51:17 -07:00
config_test.go Added test for config.Read and config.ReadDefault 2015-08-31 20:11:01 -07:00
testing.go test: expand symlink for temp dir for macOS compatibility (#6303) 2019-09-10 12:20:09 -04:00