open-consul/agent/xds
freddygv eeccba945d Replace TransparentProxy bool with ProxyMode
This PR replaces the original boolean used to configure transparent
proxy mode. It was replaced with a string mode that can be set to:

- "": Empty string is the default for when the setting should be
defaulted from other configuration like config entries.
- "direct": Direct mode is how applications originally opted into the
mesh. Proxy listeners need to be dialed directly.
- "transparent": Transparent mode enables configuring Envoy as a
transparent proxy. Traffic must be captured and redirected to the
inbound and outbound listeners.

This PR also adds a struct for transparent proxy specific configuration.
Initially this is not stored as a pointer. Will revisit that decision
before GA.
2021-04-12 09:35:14 -06:00
..
proxysupport xds: default to speaking xDS v3, but allow for v2 to be spoken upon request (#9658) 2021-02-26 16:23:15 -06:00
testdata Merge pull request #9042 from lawliet89/tg-rewrite 2021-04-08 11:49:23 -06:00
clusters.go Replace TransparentProxy bool with ProxyMode 2021-04-12 09:35:14 -06:00
clusters_test.go Replace TransparentProxy bool with ProxyMode 2021-04-12 09:35:14 -06:00
config.go Turn Limits and PassiveHealthChecks into pointers 2021-03-11 11:04:40 -07:00
config_test.go finish moving UpstreamConfig and related fields to structs pkg 2021-03-10 21:04:13 -07:00
endpoints.go Merge master and fix upstream config protocol defaulting 2021-03-17 21:13:40 -06:00
endpoints_test.go Update xds for transparent proxy 2021-03-17 13:40:49 -06:00
envoy_versioning.go xds: default to speaking xDS v3, but allow for v2 to be spoken upon request (#9658) 2021-02-26 16:23:15 -06:00
envoy_versioning_test.go xds: default to speaking xDS v3, but allow for v2 to be spoken upon request (#9658) 2021-02-26 16:23:15 -06:00
failover_math.go xds: default to speaking xDS v3, but allow for v2 to be spoken upon request (#9658) 2021-02-26 16:23:15 -06:00
failover_math_test.go xds: remove deprecated usages of xDS (#9602) 2021-02-22 15:00:15 -06:00
golden_test.go xds: default to speaking xDS v3, but allow for v2 to be spoken upon request (#9658) 2021-02-26 16:23:15 -06:00
listeners.go Replace TransparentProxy bool with ProxyMode 2021-04-12 09:35:14 -06:00
listeners_test.go Replace TransparentProxy bool with ProxyMode 2021-04-12 09:35:14 -06:00
naming.go
net_fallback.go xds: only try to create an ipv6 expose checks listener if ipv6 is supported by the kernel (#9765) 2021-02-19 14:38:43 -06:00
net_linux.go xds: only try to create an ipv6 expose checks listener if ipv6 is supported by the kernel (#9765) 2021-02-19 14:38:43 -06:00
rbac.go xds: default to speaking xDS v3, but allow for v2 to be spoken upon request (#9658) 2021-02-26 16:23:15 -06:00
rbac_test.go xds: default to speaking xDS v3, but allow for v2 to be spoken upon request (#9658) 2021-02-26 16:23:15 -06:00
response.go xds: default to speaking xDS v3, but allow for v2 to be spoken upon request (#9658) 2021-02-26 16:23:15 -06:00
routes.go Merge branch 'master' of github.com:hashicorp/consul into tg-rewrite 2021-04-06 17:05:26 +08:00
routes_test.go xds: default to speaking xDS v3, but allow for v2 to be spoken upon request (#9658) 2021-02-26 16:23:15 -06:00
server.go Replace TransparentProxy bool with ProxyMode 2021-04-12 09:35:14 -06:00
server_oss.go xds: default to speaking xDS v3, but allow for v2 to be spoken upon request (#9658) 2021-02-26 16:23:15 -06:00
server_test.go xds: default to speaking xDS v3, but allow for v2 to be spoken upon request (#9658) 2021-02-26 16:23:15 -06:00
testing.go xds: default to speaking xDS v3, but allow for v2 to be spoken upon request (#9658) 2021-02-26 16:23:15 -06:00
version_compat.go xds: default to speaking xDS v3, but allow for v2 to be spoken upon request (#9658) 2021-02-26 16:23:15 -06:00
xds.go