open-nomad/client/config
Seth Hoenig be3f89b5f9
artifact: enable inheriting environment variables from client (#15514)
* artifact: enable inheriting environment variables from client

This PR adds client configuration for specifying environment variables that
should be inherited by the artifact sandbox process from the Nomad Client agent.

Most users should not need to set these values but the configuration is provided
to ensure backwards compatability. Configuration of go-getter should ideally be
done through the artifact block in a jobspec task.

e.g.

```hcl
client {
  artifact {
    set_environment_variables = "TMPDIR,GIT_SSH_OPTS"
  }
}
```

Closes #15498

* website: update set_environment_variables text to mention PATH
2022-12-09 15:46:07 -06:00
..
artifact.go artifact: enable inheriting environment variables from client (#15514) 2022-12-09 15:46:07 -06:00
artifact_test.go artifact: enable inheriting environment variables from client (#15514) 2022-12-09 15:46:07 -06:00
config.go
config_test.go
testing.go