open-nomad/vendor/github.com/hashicorp
Seth Hoenig 4d71f22a11 consul/connect: add support for running connect native tasks
This PR adds the capability of running Connect Native Tasks on Nomad,
particularly when TLS and ACLs are enabled on Consul.

The `connect` stanza now includes a `native` parameter, which can be
set to the name of task that backs the Connect Native Consul service.

There is a new Client configuration parameter for the `consul` stanza
called `share_ssl`. Like `allow_unauthenticated` the default value is
true, but recommended to be disabled in production environments. When
enabled, the Nomad Client's Consul TLS information is shared with
Connect Native tasks through the normal Consul environment variables.
This does NOT include auth or token information.

If Consul ACLs are enabled, Service Identity Tokens are automatically
and injected into the Connect Native task through the CONSUL_HTTP_TOKEN
environment variable.

Any of the automatically set environment variables can be overridden by
the Connect Native task using the `env` stanza.

Fixes #6083
2020-06-22 14:07:44 -05:00
..
consul deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
consul-template deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
cronexpr vendor: use tagged cronexpr, v1.1.0 2020-05-12 16:20:00 -04:00
errwrap deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-checkpoint Updating go-checkpoint lib to have a fixed timeout 2017-10-09 15:23:46 -04:00
go-cleanhttp deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-connlimit deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-discover deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-envparse deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-getter deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-hclog deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-immutable-radix deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-memdb deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-msgpack deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-multierror deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-plugin deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-retryablehttp deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-rootcerts deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-safetemp deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-sockaddr deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-syslog deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-uuid deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-version vendor: update go-version to include NewSemver 2019-11-19 08:40:18 -08:00
golang-lru deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
hcl deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
logutils deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
mdns deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
memberlist deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
net-rpc-msgpackrpc Using godeps to build 2016-02-12 10:02:16 -08:00
nomad/api consul/connect: add support for running connect native tasks 2020-06-22 14:07:44 -05:00
raft deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
raft-boltdb deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
serf deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
vault deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
vic deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
yamux deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00