consul/agent/cache-types
Freddy fdd10dd8b8
Expose HTTP-based paths through Connect proxy (#6446)
Fixes: #5396

This PR adds a proxy configuration stanza called expose. These flags register
listeners in Connect sidecar proxies to allow requests to specific HTTP paths from outside of the node. This allows services to protect themselves by only
listening on the loopback interface, while still accepting traffic from non
Connect-enabled services.

Under expose there is a boolean checks flag that would automatically expose all
registered HTTP and gRPC check paths.

This stanza also accepts a paths list to expose individual paths. The primary
use case for this functionality would be to expose paths for third parties like
Prometheus or the kubelet.

Listeners for requests to exposed paths are be configured dynamically at run
time. Any time a proxy, or check can be registered, a listener can also be
created.

In this initial implementation requests to these paths are not
authenticated/encrypted.
2019-09-25 20:55:52 -06:00
..
catalog_datacenters.go cache: remove data race in agent cache 2019-09-12 16:18:01 -05:00
catalog_datacenters_test.go New Cache Types (#5995) 2019-06-24 14:11:34 -04:00
catalog_list_services.go cache: remove data race in agent cache 2019-09-12 16:18:01 -05:00
catalog_list_services_test.go New Cache Types (#5995) 2019-06-24 14:11:34 -04:00
catalog_services.go cache: remove data race in agent cache 2019-09-12 16:18:01 -05:00
catalog_services_test.go bugfix: use ServiceTags to generate cache key hash (#4987) 2019-01-07 21:30:47 +00:00
config_entry.go cache: remove data race in agent cache 2019-09-12 16:18:01 -05:00
config_entry_test.go Implement caching for config entry lists 2019-07-02 10:11:19 -04:00
connect_ca_leaf.go connect: don't colon-hex-encode the AuthorityKeyId and SubjectKeyId fields in connect certs (#6492) 2019-09-23 12:52:35 -05:00
connect_ca_leaf_test.go tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597) 2019-06-27 22:22:07 +02:00
connect_ca_root.go cache: remove data race in agent cache 2019-09-12 16:18:01 -05:00
connect_ca_root_test.go agent/cache-types: rename to separate root and leaf cache types 2018-06-14 09:42:01 -07:00
discovery_chain.go cache: remove data race in agent cache 2019-09-12 16:18:01 -05:00
discovery_chain_test.go connect: generate the full SNI names for discovery targets in the compiler rather than in the xds package (#6340) 2019-08-19 13:03:03 -05:00
health_services.go cache: remove data race in agent cache 2019-09-12 16:18:01 -05:00
health_services_test.go bugfix: use ServiceTags to generate cache key hash (#4987) 2019-01-07 21:30:47 +00:00
intention_match.go cache: remove data race in agent cache 2019-09-12 16:18:01 -05:00
intention_match_test.go agent/cache: address PR feedback, lots of typos 2018-06-14 09:42:03 -07:00
mock_RPC.go agent/cache: Reorganize some files, RequestInfo struct, prepare for partitioning 2018-06-14 09:42:00 -07:00
node_services.go cache: remove data race in agent cache 2019-09-12 16:18:01 -05:00
node_services_test.go Allow DNS interface to use agent cache (#5300) 2019-02-25 14:06:01 -05:00
prepared_query.go cache: remove data race in agent cache 2019-09-12 16:18:01 -05:00
prepared_query_test.go Support Agent Caching for Service Discovery Results (#4541) 2018-10-10 16:55:34 +01:00
resolved_service_config.go cache: remove data race in agent cache 2019-09-12 16:18:01 -05:00
resolved_service_config_test.go Add integration test for central config; fix central config WIP (#5752) 2019-05-01 16:39:31 -07:00
rpc.go agent/cache: Reorganize some files, RequestInfo struct, prepare for partitioning 2018-06-14 09:42:00 -07:00
service_checks.go Expose HTTP-based paths through Connect proxy (#6446) 2019-09-25 20:55:52 -06:00
service_checks_test.go Expose HTTP-based paths through Connect proxy (#6446) 2019-09-25 20:55:52 -06:00
service_dump.go cache: remove data race in agent cache 2019-09-12 16:18:01 -05:00
service_dump_test.go Implement Kind based ServiceDump and caching of the ServiceDump RPC 2019-07-01 16:28:30 -04:00
testing.go agent/cache-types: got basic CA leaf caching work, major problems still 2018-06-14 09:42:01 -07:00