consul/agent
James Phillips 0881e46111 Cleans up version 8 ACLs in the agent and the docs. (#3248)
* Moves magic check and service constants into shared structs package.

* Removes the "consul" service from local state.

Since this service is added by the leader, it doesn't really make sense to
also keep it in local state (which requires special ACLs to configure), and
requires a bunch of special cases in the local state logic. This requires
fewer special cases and makes ACL bootstrapping cleaner.

* Makes coordinate update ACL log message a warning, similar to other AE warnings.

* Adds much more detailed examples for bootstrapping ACLs.

This can hopefully replace https://gist.github.com/slackpad/d89ce0e1cc0802c3c4f2d84932fa3234.
2017-07-13 22:33:47 -07:00
..
consul Cleans up version 8 ACLs in the agent and the docs. (#3248) 2017-07-13 22:33:47 -07:00
mock pkg refactor 2017-06-10 18:52:45 +02:00
pool agent: move conn pool for muxed connections into separate pkg 2017-06-21 05:42:39 +02:00
systemd agent: notify systemd after JoinLAN (#2121) 2017-06-21 06:43:55 +02:00
acl.go agent: make the RPC endpoint overwrite mechanism more transparent 2017-06-21 05:42:39 +02:00
acl_endpoint.go pkg refactor 2017-06-10 18:52:45 +02:00
acl_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
acl_test.go agent: fix data races with registerEndpoint 2017-07-07 09:22:34 +02:00
agent.go Cleans up version 8 ACLs in the agent and the docs. (#3248) 2017-07-13 22:33:47 -07:00
agent_endpoint.go agent: fix 'consul leave' shutdown race (#2880) 2017-06-21 05:52:51 +02:00
agent_endpoint_test.go Cleans up version 8 ACLs in the agent and the docs. (#3248) 2017-07-13 22:33:47 -07:00
agent_test.go Cleans up version 8 ACLs in the agent and the docs. (#3248) 2017-07-13 22:33:47 -07:00
bindata_assetfs.go UI cleanup follow up from #3245. (#3251) 2017-07-10 09:40:00 -07:00
blacklist.go Adds the ability to blacklist specific HTTP endpoints. (#3252) 2017-07-10 13:51:25 -07:00
blacklist_test.go Adds the ability to blacklist specific HTTP endpoints. (#3252) 2017-07-10 13:51:25 -07:00
catalog_endpoint.go agent: refactor: make address translation part of the agent 2017-07-07 09:22:34 +02:00
catalog_endpoint_test.go rpc: monkey patch fix for data races for localState 2017-07-07 09:22:34 +02:00
check.go Correctly forward Host header in healthcheck (#3203) 2017-06-29 16:26:08 -07:00
check_test.go agent: make timing sensitive tests more robust 2017-07-07 09:22:34 +02:00
config.go Adds the ability to blacklist specific HTTP endpoints. (#3252) 2017-07-10 13:51:25 -07:00
config_aws.go Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
config_azure.go Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
config_azure_test.go Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
config_ec2_test.go Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
config_gce.go Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
config_gce_test.go Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
config_test.go Adds the ability to blacklist specific HTTP endpoints. (#3252) 2017-07-10 13:51:25 -07:00
coordinate_endpoint.go pkg refactor 2017-06-10 18:52:45 +02:00
coordinate_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
dns.go dns: fix data races in DNS compression tests 2017-07-07 09:22:34 +02:00
dns_test.go agent: fix data races with registerEndpoint 2017-07-07 09:22:34 +02:00
event_endpoint.go pkg refactor 2017-06-10 18:52:45 +02:00
event_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
health_endpoint.go agent: refactor: make address translation part of the agent 2017-07-07 09:22:34 +02:00
health_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
http.go Adds the ability to blacklist specific HTTP endpoints. (#3252) 2017-07-10 13:51:25 -07:00
http_test.go Adds the ability to blacklist specific HTTP endpoints. (#3252) 2017-07-10 13:51:25 -07:00
keyring.go pkg refactor 2017-06-10 18:52:45 +02:00
keyring_test.go pkg refactor 2017-06-10 18:52:45 +02:00
kvs_endpoint.go pkg refactor 2017-06-10 18:52:45 +02:00
kvs_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
local.go Cleans up version 8 ACLs in the agent and the docs. (#3248) 2017-07-13 22:33:47 -07:00
local_test.go Cleans up version 8 ACLs in the agent and the docs. (#3248) 2017-07-13 22:33:47 -07:00
notify.go agent: move NotifyGroup into the agent pkg 2017-06-21 05:42:39 +02:00
notify_test.go agent: move NotifyGroup into the agent pkg 2017-06-21 05:42:39 +02:00
operator_endpoint.go pkg refactor 2017-06-10 18:52:45 +02:00
operator_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
prepared_query_endpoint.go agent: refactor: make address translation part of the agent 2017-07-07 09:22:34 +02:00
prepared_query_endpoint_test.go agent: fix data races with registerEndpoint 2017-07-07 09:22:34 +02:00
remote_exec.go pkg refactor 2017-06-10 18:52:45 +02:00
remote_exec_test.go agent: make timing sensitive tests more robust 2017-07-07 09:22:34 +02:00
retry_join.go Revert "discover: move instance discover code into separate package (#3144)" (#3180) 2017-06-23 01:38:55 -07:00
session_endpoint.go Cleans up version 8 ACLs in the agent and the docs. (#3248) 2017-07-13 22:33:47 -07:00
session_endpoint_test.go Cleans up version 8 ACLs in the agent and the docs. (#3248) 2017-07-13 22:33:47 -07:00
snapshot_endpoint.go pkg refactor 2017-06-10 18:52:45 +02:00
snapshot_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
status_endpoint.go pkg refactor 2017-06-10 18:52:45 +02:00
status_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
testagent.go dns: fix data races in DNS compression tests 2017-07-07 09:22:34 +02:00
translate_addr.go agent: refactor: make address translation part of the agent 2017-07-07 09:22:34 +02:00
txn_endpoint.go pkg refactor 2017-06-10 18:52:45 +02:00
txn_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
ui_endpoint.go agent: fix go vet issue 2017-07-11 07:13:46 -07:00
ui_endpoint_test.go pkg refactor 2017-06-10 18:52:45 +02:00
user_event.go pkg refactor 2017-06-10 18:52:45 +02:00
user_event_test.go pkg refactor 2017-06-10 18:52:45 +02:00
util.go pkg refactor 2017-06-10 18:52:45 +02:00
util_test.go pkg refactor 2017-06-10 18:52:45 +02:00
watch_handler.go pkg refactor 2017-06-10 18:52:45 +02:00
watch_handler_test.go pkg refactor 2017-06-10 18:52:45 +02:00