consul/command
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
..
acl docs: add documentation for all secure acl introduction work (#5640) 2019-05-01 16:11:23 -05:00
agent log rotation: limit count of rotated log files (#5831) 2019-07-19 15:36:34 -06:00
catalog Implement data filtering of some endpoints (#5579) 2019-04-16 12:00:15 -04:00
config Expose HTTP-based paths through Connect proxy (#6446) 2019-09-25 20:55:52 -06:00
connect xds: improve how envoy metrics are emitted (#6312) 2019-08-16 09:30:17 -05:00
debug Simplified code in various places (#6176) 2019-07-20 09:37:19 -04:00
event Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 2019-02-14 10:59:14 -05:00
exec Flaky test overhaul (#6100) 2019-07-12 09:52:26 -06:00
flags acl: adding support for kubernetes auth provider login (#5600) 2019-04-26 14:49:25 -05:00
forceleave Move internal/ to sdk/ (#5568) 2019-03-27 08:54:56 -04:00
helpers Centralized Config CLI (#5731) 2019-04-30 16:27:16 -07:00
info Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 2019-02-14 10:59:14 -05:00
intention Move internal/ to sdk/ (#5568) 2019-03-27 08:54:56 -04:00
join Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 2019-02-14 10:59:14 -05:00
keygen Update default gossip encryption key size to 32 bytes 2019-07-30 09:45:41 -06:00
keyring add flag to allow /operator/keyring requests to only hit local servers (#6279) 2019-08-12 11:11:11 -07:00
kv Avoid unnecessary conversions (#6178) 2019-07-19 09:13:18 -04:00
leave Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 2019-02-14 10:59:14 -05:00
lock Merge pull request #5376 from hashicorp/fix-tests 2019-04-04 17:09:32 -04:00
login docs: add documentation for all secure acl introduction work (#5640) 2019-05-01 16:11:23 -05:00
logout docs: add documentation for all secure acl introduction work (#5640) 2019-05-01 16:11:23 -05:00
maint Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 2019-02-14 10:59:14 -05:00
members Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 2019-02-14 10:59:14 -05:00
monitor test: ensure all TestAgent constructions use a constructor (#6443) 2019-09-05 10:24:36 -07:00
operator Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 2019-02-14 10:59:14 -05:00
reload Pass a testing.T into NewTestAgent and TestAgent.Start (#5342) 2019-02-14 10:59:14 -05:00
rtt Move internal/ to sdk/ (#5568) 2019-03-27 08:54:56 -04:00
services Implement Mesh Gateways 2019-07-01 16:28:30 -04:00
snapshot Move internal/ to sdk/ (#5568) 2019-03-27 08:54:56 -04:00
tls tls: auto_encrypt enables automatic RPC cert provisioning for consul clients (#5597) 2019-06-27 22:22:07 +02:00
validate Move internal/ to sdk/ (#5568) 2019-03-27 08:54:56 -04:00
version commands: run all tests in parallel (again) 2017-10-18 00:08:45 +02:00
watch cli: actually allow the 'connect envoy' and 'watch' subcommands to work with -token-file (#5733) 2019-04-30 09:59:00 -05:00
commands_oss.go Fix envoy 1.10 exec (#5964) 2019-06-21 16:06:25 +01:00
registry.go Abandon daemonize for simpler solution (preserving history): 2018-06-25 12:24:10 -07:00