open-consul/agent/xds
Chris Piraino 2d657c3c0f
Allow ingress gateways to send empty clusters, routes, and listeners (#7795)
This is useful when updating an config entry with no services, and the
expected behavior is that envoy closes all listeners and clusters.

We also allow empty routes because ingress gateways name route
configurations based on the port of the listener, so it is important we
remove any stale routes. Then, if a new listener with an old port is
added, we will not have to deal with stale routes hanging around routing
to the wrong place.

Endpoints are associated with clusters, and thus by deleting the
clusters we don't have to care about sending empty endpoint responses.
2020-05-07 16:19:25 -05:00
..
testdata xds: Use only the port number as the configured route name 2020-05-06 15:06:13 -05:00
clusters.go Support multiple listeners referencing the same service in gateway definitions 2020-05-06 15:06:13 -05:00
clusters_test.go Support multiple listeners referencing the same service in gateway definitions 2020-05-06 15:06:13 -05:00
config.go
config_test.go
endpoints.go Support multiple listeners referencing the same service in gateway definitions 2020-05-06 15:06:13 -05:00
endpoints_test.go Support multiple listeners referencing the same service in gateway definitions 2020-05-06 15:06:13 -05:00
failover_math.go
failover_math_test.go
golden_test.go
listeners.go Comment why it is ok to expect upstreams slice to not be empty 2020-05-06 15:06:13 -05:00
listeners_test.go
naming.go
response.go
routes.go Correctly set a namespace label in the required domain for xds routes 2020-05-06 15:06:14 -05:00
routes_test.go Allow Hosts field to be set on an ingress config entry 2020-05-06 15:06:13 -05:00
server.go Allow ingress gateways to send empty clusters, routes, and listeners (#7795) 2020-05-07 16:19:25 -05:00
server_oss.go
server_test.go Allow ingress gateways to send empty clusters, routes, and listeners (#7795) 2020-05-07 16:19:25 -05:00
testing.go
xds.go