Ensure partition is used for SAN validation
This commit is contained in:
parent
3906d0b973
commit
a57c52ca32
|
@ -639,10 +639,9 @@ func (s *ResourceGenerator) makeUpstreamClustersForDiscoveryChain(
|
|||
targetSpiffeID := connect.SpiffeIDService{
|
||||
Host: cfgSnap.Roots.TrustDomain,
|
||||
Namespace: target.Namespace,
|
||||
Partition: target.Partition,
|
||||
Datacenter: target.Datacenter,
|
||||
Service: target.Service,
|
||||
|
||||
// TODO(partitions) Store partition
|
||||
}
|
||||
|
||||
if failoverThroughMeshGateway {
|
||||
|
@ -676,10 +675,9 @@ func (s *ResourceGenerator) makeUpstreamClustersForDiscoveryChain(
|
|||
id := connect.SpiffeIDService{
|
||||
Host: cfgSnap.Roots.TrustDomain,
|
||||
Namespace: target.Namespace,
|
||||
Partition: target.Partition,
|
||||
Datacenter: target.Datacenter,
|
||||
Service: target.Service,
|
||||
|
||||
// TODO(partitions) Store partition
|
||||
}
|
||||
|
||||
// Failover targets might be subsets of the same service, so these are deduplicated.
|
||||
|
|
Loading…
Reference in New Issue