open-nomad/nomad/structs
Seth Hoenig f6c8db8a8a consul/connect: use task kind to get service name
Fixes #8000

When requesting a Service Identity token from Consul, use the TaskKind
of the Task to get at the service name associated with the task. In
the past using the TaskName worked because it was generated as a sidecar
task with a name that included the service. In the Native context, we
need to get at the service name in a more correct way, i.e. using the
TaskKind which is defined to include the service name.
2020-05-18 13:46:00 -06:00
..
config update audit examples to an endpoint that is audited 2020-03-30 10:03:11 -04:00
batch_future.go drain: refactor batch_future into its own file 2018-04-02 16:40:06 -07:00
batch_future_test.go drain: refactor batch_future into its own file 2018-04-02 16:40:06 -07:00
bitmap.go assign names 2017-07-07 12:03:11 -07:00
bitmap_test.go assign names 2017-07-07 12:03:11 -07:00
csi.go csi: support for VolumeContext and VolumeParameters (#7957) 2020-05-15 08:16:01 -04:00
csi_test.go csi: ensure Read/WriteAllocs aren't released early (#7841) 2020-04-30 17:11:31 -04:00
devices.go Initial implementation of device preemption 2018-11-15 11:09:26 -06:00
devices_test.go Split device accounter and allocator 2018-11-07 10:32:03 -08:00
diff.go server: stop after client disconnect (#7939) 2020-05-13 16:39:04 -04:00
diff_test.go test added and removed 2020-04-06 11:53:46 -04:00
errors.go csi: server-side plugin state tracking and api (#6966) 2020-03-23 13:58:29 -04:00
errors_test.go api: acl bootstrap errors aren't 500 2019-11-19 15:51:57 -05:00
funcs.go tests and some clean up 2020-05-01 13:13:30 -04:00
funcs_test.go changelog and fix typo 2020-05-01 13:14:20 -04:00
generate.sh When serializing msgpack, only consider codec tag 2020-05-11 14:14:10 -04:00
network.go fix spelling errors (#6985) 2020-04-20 09:28:19 -04:00
network_test.go cli: display group ports and address in alloc status command output (#6189) 2019-08-27 23:59:36 -04:00
node.go docstring improvements and typo fixes (#7862) 2020-05-05 10:30:50 -04:00
node_class.go Device hook and devices affect computed node class 2018-11-27 17:25:33 -08:00
node_class_test.go Device hook and devices affect computed node class 2018-11-27 17:25:33 -08:00
node_test.go fix issue when updating node events 2018-03-21 15:15:26 -04:00
operator.go handle upgrade path and defaults 2020-05-09 12:34:08 -04:00
service_identities.go consul/connect: use task kind to get service name 2020-05-18 13:46:00 -06:00
services.go structs: fix compatibility between api and nomad/structs proxy definitions 2020-04-13 15:59:45 -06:00
services_test.go connect: correctly deal with nil sidecar_service task stanza 2020-04-09 20:28:17 -06:00
streaming_rpc.go spelling: requested 2018-03-11 18:43:21 +00:00
structs.go consul/connect: use task kind to get service name 2020-05-18 13:46:00 -06:00
structs_codegen.go Codecgen full package 2018-04-26 15:24:53 -07:00
structs_periodic_test.go tests for periodic job scheduling and DST 2020-05-07 17:36:59 -04:00
structs_test.go server: stop after client disconnect (#7939) 2020-05-13 16:39:04 -04:00
testing.go Split device accounter and allocator 2018-11-07 10:32:03 -08:00
volumes.go csi: add mount_options to volumes and volume requests (#7398) 2020-03-23 13:59:25 -04:00