Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for trustDomainAliases (0.29 sec)

  1. pilot/pkg/model/push_context_test.go

    }
    
    func BenchmarkInitServiceAccounts(b *testing.B) {
    	ps := NewPushContext()
    	index := NewEndpointIndex(DisabledCache{})
    	env := &Environment{EndpointIndex: index}
    	ps.Mesh = &meshconfig.MeshConfig{TrustDomainAliases: []string{"td1", "td2"}}
    
    	services := []*Service{
    		{
    			Hostname: "svc-unset",
    			Ports:    allPorts,
    			Attributes: ServiceAttributes{
    				Namespace: "test1",
    			},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  2. pilot/pkg/model/push_context.go

    				accounts = sets.New(svc.ServiceAccounts...)
    			} else {
    				accounts = accounts.InsertAll(svc.ServiceAccounts...)
    			}
    		}
    		sa := sets.SortedList(spiffe.ExpandWithTrustDomains(accounts, ps.Mesh.TrustDomainAliases))
    		key := serviceAccountKey{
    			hostname:  svc.Hostname,
    			namespace: svc.Attributes.Namespace,
    		}
    		ps.serviceAccounts[key] = sa
    	}
    }
    
    // Caches list of authentication policies
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 09:02:11 UTC 2024
    - 91.8K bytes
    - Viewed (0)
Back to top