open-consul/agent/grpc-external/services/dataplane
Dan Upton 20c87d235f
dataplane: update envoy bootstrap params for consul-dataplane (#14017)
Contains 2 changes to the GetEnvoyBootstrapParams response to support
consul-dataplane.

Exposing node_name and node_id:

consul-dataplane will support providing either the node_id or node_name in its
configuration. Unfortunately, supporting both in the xDS meta adds a fair amount
of complexity (partly because most tables are currently indexed on node_name)
so for now we're going to return them both from the bootstrap params endpoint,
allowing consul-dataplane to exchange a node_id for a node_name (which it will
supply in the xDS meta).

Properly setting service for gateways:

To avoid the need to special case gateways in consul-dataplane, service will now
either be the destination service name for connect proxies, or the gateway
service name. This means it can be used as-is in Envoy configuration (i.e. as a
cluster name or in metric tags).
2022-08-24 12:03:15 +01:00
..
get_envoy_bootstrap_params.go dataplane: update envoy bootstrap params for consul-dataplane (#14017) 2022-08-24 12:03:15 +01:00
get_envoy_bootstrap_params_test.go dataplane: update envoy bootstrap params for consul-dataplane (#14017) 2022-08-24 12:03:15 +01:00
get_supported_features.go
get_supported_features_test.go
mock_ACLResolver.go
server.go
server_test.go