open-nomad/vendor/github.com
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
..
agext/levenshtein deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
apparentlymart/go-textseg/v12 deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
armon deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
aws/aws-sdk-go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
Azure deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
beorn7/perks deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
bgentry deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
boltdb/bolt deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
BurntSushi/toml deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
census-instrumentation/opencensus-proto deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
cespare/xxhash/v2 deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
checkpoint-restore/go-criu
circonus-labs deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
container-storage-interface/spec
containerd deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
containernetworking
coreos deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
cyphar/filepath-securejoin deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
DataDog/datadog-go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
davecgh/go-spew deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
denverdino/aliyungo deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
dgrijalva/jwt-go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
digitalocean/godo deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
dimchansky/utfbom deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
docker deps: updated libnetwork dep 2020-06-18 11:05:31 -07:00
dustin/go-humanize deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
elazarl/go-bindata-assetfs deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
fatih/color deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
fsouza/go-dockerclient deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
go-ole/go-ole deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
godbus/dbus deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
gogo/protobuf deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
golang deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
google deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
googleapis/gax-go/v2 deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
gophercloud/gophercloud deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
gorilla deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
grpc-ecosystem deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
hashicorp consul/connect: add support for running connect native tasks 2020-06-22 14:07:44 -05:00
hpcloud/tail deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
ishidawataru/sctp deps: updated libnetwork dep 2020-06-18 11:05:31 -07:00
jmespath/go-jmespath deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
joyent/triton-go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
jstemmer/go-junit-report deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
konsorten/go-windows-terminal-sequences deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
kr deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
linode/linodego deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
LK4D4/joincontext deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
mattn deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
matttproud/golang_protobuf_extensions deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
Microsoft deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
miekg/dns deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
mitchellh deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
morikuni/aec
mrunalp/fileutils deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
nicolai86/scaleway-sdk deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
NVIDIA/gpu-monitoring-tools deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
NYTimes/gziphandler deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
oklog/run deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
onsi deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
opencontainers deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
packethost/packngo deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
pierrec/lz4 deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
pkg/errors deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
pmezard/go-difflib
posener/complete deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
prometheus deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
renier/xmlrpc deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
rs/cors deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
ryanuber deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
sean-/seed deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
seccomp/libseccomp-golang deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
shirou/gopsutil Vendor gopsutil with go mod fix (#8108) 2020-06-03 16:09:27 -04:00
sirupsen/logrus deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
skratchdot/open-golang
softlayer/softlayer-go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
StackExchange/wmi deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
stretchr deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
syndtr/gocapability
tencentcloud/tencentcloud-sdk-go deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
tv42/httpunix deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
ulikunitz/xz deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
vishvananda deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
vmihailenco/msgpack deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
vmware/govmomi deps: Switch to Go modules for dependency management 2020-06-02 14:30:36 -05:00
zclconf/go-cty