open-nomad/client
Nick Ethier 965f00b2fc
Builtin Admission Controller Framework (#6116)
* nomad: add admission controller framework

* nomad: add admission controller framework and Consul Connect hooks

* run admission controllers before checking permissions

* client: add default node meta for connect configurables

* nomad: remove validateJob func since it has been moved to admission controller

* nomad: use new TaskKind type

* client: use consts for connect sidecar image and log level

* Apply suggestions from code review

Co-Authored-By: Michael Schurter <mschurter@hashicorp.com>

* nomad: add job register test with connect sidecar

* Update nomad/job_endpoint_hooks.go

Co-Authored-By: Michael Schurter <mschurter@hashicorp.com>
2019-08-15 11:22:37 -04:00
..
allocdir Test file for detect content type that satisfies linter and encoding 2019-07-10 11:42:04 -05:00
allochealth connect: add group.service stanza support 2019-07-31 01:04:05 -04:00
allocrunner client/template: configuration for function blacklist and sandboxing 2019-08-12 16:34:48 -04:00
allocwatcher goimports 2019-01-22 15:44:31 -08:00
config client/template: configuration for function blacklist and sandboxing 2019-08-12 16:34:48 -04:00
consul test: add some extra logging 2019-01-14 09:56:53 -08:00
devicemanager test: fix NewMemDB API change 2019-03-04 13:37:20 -08:00
fingerprint Merge pull request #5553 from hashicorp/b-fingerprinter-manual-config 2019-04-26 12:55:34 -04:00
interfaces Populate alloc stats API with device stats 2018-11-16 10:26:32 -05:00
lib ar: plumb client config for networking into the network hook 2019-07-31 01:04:06 -04:00
logmon logmon: fix comment formattinglogmon: fix comment formattinglogmon: fix 2019-07-22 13:05:01 -07:00
pluginmanager implement client endpoint of nomad exec 2019-05-09 16:49:08 -04:00
servers client: drop unused DC field from servers list 2019-05-20 14:19:15 -07:00
state test: fix NewMemDB API change 2019-03-04 13:37:20 -08:00
stats Add Client Device Stats structs in api package 2018-11-14 14:41:19 -05:00
structs remove generated code and change version to 0.10.0 2019-07-30 15:56:05 -05:00
taskenv client: handle 0.8 server network resources 2019-05-02 12:08:38 -04:00
testutil tests: expect Docker on AppVeyor 2019-02-20 07:41:47 -05:00
vaultclient vault: fix data races 2019-04-16 11:22:44 -07:00
acl.go aux: helper method that returns token as well as ACL policy 2019-04-30 10:23:56 -04:00
acl_test.go tests: explicitly cleanup after clients 2018-10-17 10:06:59 -07:00
alloc_endpoint.go client config flag to disable remote exec 2019-06-03 15:31:39 -04:00
alloc_endpoint_test.go client config flag to disable remote exec 2019-06-03 15:31:39 -04:00
alloc_watcher_e2e_test.go tests: enable and fix tests requiring mock driver 2019-01-10 10:10:11 -05:00
client.go Builtin Admission Controller Framework (#6116) 2019-08-15 11:22:37 -04:00
client_stats_endpoint.go Server side impl + touch ups 2018-02-15 13:59:02 -08:00
client_stats_endpoint_test.go tests: explicitly cleanup after clients 2018-10-17 10:06:59 -07:00
client_test.go Merge pull request #5664 from hashicorp/f-http-hcl-region 2019-06-13 12:25:01 -07:00
driver_manager_test.go tests: fix data race in client TestDriverManager_Fingerprint_Periodic 2019-05-21 09:49:56 -04:00
fingerprint_manager.go goimports until make check is happy 2019-01-23 06:27:14 -08:00
fingerprint_manager_test.go client/drivermananger: add driver manager 2018-12-18 22:55:18 -05:00
fs_endpoint.go implement client endpoint of nomad exec 2019-05-09 16:49:08 -04:00
fs_endpoint_test.go Infer content type in alloc fs stat endpoint 2019-06-28 20:31:28 -05:00
gc.go Plugins use parent loggers 2019-01-11 11:36:37 -08:00
gc_test.go test: copy AR's Alloc before mutating 2018-12-19 15:48:02 -08:00
node_updater.go client: wait for batched driver updated 2019-04-19 09:00:24 -04:00
rpc.go implement client endpoint of nomad exec 2019-05-09 16:49:08 -04:00
rpc_test.go tests: explicitly cleanup after clients 2018-10-17 10:06:59 -07:00
testing.go goimports until make check is happy 2019-01-23 06:27:14 -08:00
util.go client: defensive against getting stale alloc updates 2019-06-29 04:17:35 -05:00
util_test.go Update state with server 2018-10-16 16:53:29 -07:00