Skip to content

Commit

Permalink
internal/contour: add grpc_services stanza to defaultListener
Browse files Browse the repository at this point in the history
Updates projectcontour#136

Backport of the grpc_services addition from projectcontour#136.

Signed-off-by: Dave Cheney <[email protected]>
  • Loading branch information
davecheney committed Jan 11, 2018
1 parent c395478 commit 8bb3c4f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion internal/contour/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,16 @@ func defaultListener() []*v2.Listener {
"config_source": st(map[string]*structpb.Value{
"api_config_source": st(map[string]*structpb.Value{
"api_type": sv("grpc"),
"cluster_name": lv(
"cluster_names": lv(
sv("xds_cluster"),
),
"grpc_services": lv(
st(map[string]*structpb.Value{
"envoy_grpc": st(map[string]*structpb.Value{
"cluster_name": sv("xds_cluster"),
}),
}),
),
}),
}),
}),
Expand Down

0 comments on commit 8bb3c4f

Please sign in to comment.