Update agent/xds/listeners.go

Co-authored-by: R.B. Boyer <4903+rboyer@users.noreply.github.com>
This commit is contained in:
Freddy 2021-06-15 14:09:26 -06:00 committed by GitHub
parent f3e4705923
commit 0a38c8fe10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1133,7 +1133,7 @@ func (s *ResourceGenerator) makeFilterChainTerminatingGateway(
// HTTP filter to do intention checks here instead. // HTTP filter to do intention checks here instead.
opts := listenerFilterOpts{ opts := listenerFilterOpts{
protocol: protocol, protocol: protocol,
filterName: fmt.Sprintf("%s.%s.%s.", service.Name, service.NamespaceOrDefault(), cfgSnap.Datacenter), filterName: fmt.Sprintf("%s.%s.%s", service.Name, service.NamespaceOrDefault(), cfgSnap.Datacenter),
routeName: cluster, // Set cluster name for route config since each will have its own routeName: cluster, // Set cluster name for route config since each will have its own
cluster: cluster, cluster: cluster,
statPrefix: "upstream.", statPrefix: "upstream.",