consul/agent/xds
John Murret 62062fd4fd
NET-5132 - Configure multiport routing for connect proxies in TProxy mode (#18606)
* mesh-controller: handle L4 protocols for a proxy without upstreams

* sidecar-controller: Support explicit destinations for L4 protocols and single ports.

* This controller generates and saves ProxyStateTemplate for sidecar proxies.
* It currently supports single-port L4 ports only.
* It keeps a cache of all destinations to make it easier to compute and retrieve destinations.
* It will update the status of the pbmesh.Upstreams resource if anything is invalid.

* endpoints-controller: add workload identity to the service endpoints resource

* small fixes

* review comments

* Address PR comments

* sidecar-proxy controller: Add support for transparent proxy

This currently does not support inferring destinations from intentions.

* PR review comments

* mesh-controller: handle L4 protocols for a proxy without upstreams

* sidecar-controller: Support explicit destinations for L4 protocols and single ports.

* This controller generates and saves ProxyStateTemplate for sidecar proxies.
* It currently supports single-port L4 ports only.
* It keeps a cache of all destinations to make it easier to compute and retrieve destinations.
* It will update the status of the pbmesh.Upstreams resource if anything is invalid.

* endpoints-controller: add workload identity to the service endpoints resource

* small fixes

* review comments

* Make sure endpoint refs route to mesh port instead of an app port

* Address PR comments

* fixing copyright

* tidy imports

* sidecar-proxy controller: Add support for transparent proxy

This currently does not support inferring destinations from intentions.

* tidy imports

* add copyright headers

* Prefix sidecar proxy test files with source and destination.

* Update controller_test.go

* NET-5132 - Configure multiport routing for connect proxies in TProxy mode

* formatting golden files

* reverting golden files and adding changes in manually.  build implicit destinations still has some issues.

* fixing files that were incorrectly repeating the outbound listener

* PR comments

* extract AlpnProtocol naming convention to getAlpnProtocolFromPortName(portName)

* removing address level filtering.

* adding license to resources_test.go

---------

Co-authored-by: Iryna Shustava <iryna@hashicorp.com>
Co-authored-by: R.B. Boyer <rb@hashicorp.com>
Co-authored-by: github-team-consul-core <github-team-consul-core@hashicorp.com>
2023-09-12 01:17:56 +00:00
..
accesslogs dataplane: Allow getting bootstrap parameters when using V2 APIs (#18504) 2023-09-06 16:46:25 -06:00
config
configfetcher
extensionruntime
naming
platform
proxystateconverter Watch the ProxyTracker from xDS controller (#18611) 2023-08-29 14:39:29 -07:00
response
testcommon
testdata xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
validateupstream-test
clusters.go
clusters_test.go
delta.go NET-5132 - Configure multiport routing for connect proxies in TProxy mode (#18606) 2023-09-12 01:17:56 +00:00
delta_envoy_extender_ce_test.go OSS -> CE (community edition) changes (#18517) 2023-08-22 09:46:03 -05:00
delta_envoy_extender_test.go
delta_test.go
endpoints.go Add extra logging for mesh health endpoints. (#18647) 2023-09-01 12:29:09 -05:00
endpoints_test.go
failover_policy.go
failover_policy_ce.go
golden_test.go xds: update golden tests to be deterministic (#18707) 2023-09-11 11:40:19 -05:00
gw_per_route_filters_ce.go Add the plumbing for APIGW JWT work (#18609) 2023-08-31 12:23:59 -04:00
jwt_authn.go
jwt_authn_ce.go
jwt_authn_test.go
listeners.go
listeners_apigateway.go Add the plumbing for APIGW JWT work (#18609) 2023-08-31 12:23:59 -04:00
listeners_ingress.go
listeners_test.go
locality_policy.go
locality_policy_ce.go
protocol_trace.go
rbac.go [APIGW] NET-5017 JWT Cleanup/Status Conditions (#18700) 2023-09-07 19:03:09 +00:00
rbac_test.go
resources.go
resources_ce_test.go
resources_test.go
routes.go [APIGW] NET-5017 JWT Cleanup/Status Conditions (#18700) 2023-09-07 19:03:09 +00:00
routes_test.go
secrets.go
server.go Watch the ProxyTracker from xDS controller (#18611) 2023-08-29 14:39:29 -07:00
server_ce.go
testing.go
xds.go
xds_protocol_helpers_test.go Watch the ProxyTracker from xDS controller (#18611) 2023-08-29 14:39:29 -07:00
z_xds_packages.go
z_xds_packages_test.go