open-nomad/client/allocrunner/taskrunner
Seth Hoenig 5aa657c6bd consul/connect: automatically set consul tls sni name for connect native tasks
This PR makes it so that Nomad will automatically set the CONSUL_TLS_SERVER_NAME
environment variable for Connect native tasks running in bridge networking mode
where Consul has TLS enabled. Because of the use of a unix domain socket for
communicating with Consul when in bridge networking mode, the server name is
a file name instead of something compatible with the mTLS certificate Consul
will authenticate against. "localhost" is by default a compatible name, so Nomad
will set the environment variable to that.

Fixes #10804
2021-06-28 08:36:53 -05:00
..
getter update template and artifact interpolation to use client-relative paths 2021-01-04 22:25:34 +00:00
interfaces
restarts
state
template consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
testdata
artifact_hook.go update template and artifact interpolation to use client-relative paths 2021-01-04 22:25:34 +00:00
artifact_hook_test.go update template and artifact interpolation to use client-relative paths 2021-01-04 22:25:34 +00:00
connect_native_hook.go consul/connect: automatically set consul tls sni name for connect native tasks 2021-06-28 08:36:53 -05:00
connect_native_hook_test.go consul/connect: automatically set consul tls sni name for connect native tasks 2021-06-28 08:36:53 -05:00
device_hook.go
device_hook_test.go
dispatch_hook.go
dispatch_hook_test.go
driver_handle.go core: propagate remote task handles 2021-04-27 15:07:03 -07:00
envoy_bootstrap_hook.go consul/connect: add support for connect mesh gateways 2021-06-04 08:24:49 -05:00
envoy_bootstrap_hook_test.go consul: probe consul namespace feature before using namespace api 2021-06-07 12:19:25 -05:00
envoy_version_hook.go
envoy_version_hook_test.go update template and artifact interpolation to use client-relative paths 2021-01-04 22:25:34 +00:00
errors.go
errors_test.go
lazy_handle.go
lifecycle.go drivers: Capture exit code when task is killed (#10494) 2021-05-04 10:54:00 -04:00
logmon_hook.go
logmon_hook_test.go
logmon_hook_unix_test.go deps: bump gopsutil to v3.21.2 2021-03-30 16:02:51 -04:00
plugin_supervisor_hook.go
remotetask_hook.go core: propagate remote task handles 2021-04-27 15:07:03 -07:00
script_check_hook.go e2e: consul namespace tests from nomad ent 2021-04-19 15:35:31 -06:00
script_check_hook_test.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
service_hook.go core: propagate remote task handles 2021-04-27 15:07:03 -07:00
service_hook_test.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
sids_hook.go
sids_hook_test.go tests: remove duplicate import statements. 2021-06-11 09:39:22 +02:00
stats_hook.go tests: deflake TestTaskRunner_StatsHook_Periodic (#9734) 2021-01-06 16:03:00 -05:00
stats_hook_test.go tests: deflake TestTaskRunner_StatsHook_Periodic (#9734) 2021-01-06 16:03:00 -05:00
task_dir_hook.go update template and artifact interpolation to use client-relative paths 2021-01-04 22:25:34 +00:00
task_runner.go drivers: Capture exit code when task is killed (#10494) 2021-05-04 10:54:00 -04:00
task_runner_getters.go
task_runner_hooks.go core: propagate remote task handles 2021-04-27 15:07:03 -07:00
task_runner_test.go tests: remove duplicate import statements. 2021-06-11 09:39:22 +02:00
tasklet.go
tasklet_test.go
template_hook.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
validate_hook.go
validate_hook_test.go
vault_hook.go
vault_hook_test.go
volume_hook.go
volume_hook_test.go