Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for sa2 (0.01 sec)

  1. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_workloadentry_test.go

    	// WorkloadEntry not in policy
    	s.addWorkloadEntries(t, "127.0.0.2", "name2", "sa2", map[string]string{"app": "not-a"})
    	s.assertEvent(t, s.wleXdsName("name2"))
    	assert.Equal(t,
    		s.lookup(s.addrXdsName("127.0.0.2"))[0].GetWorkload().GetAuthorizationPolicies(),
    		nil)
    
    	// Add it to the policy by updating its selector
    	s.addWorkloadEntries(t, "127.0.0.2", "name2", "sa2", map[string]string{"app": "a"})
    	s.assertEvent(t, s.wleXdsName("name2"))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/remote_secret_test.go

    			objs:       []runtime.Object{kubeSystemNamespace, sa2, saSecret, saSecret2},
    			secretName: saSecret.Name,
    			name:       "cluster-foo",
    			want:       "cal-want",
    		},
    		{
    			testName:        "fail when non-existing secret name provided",
    			objs:            []runtime.Object{kubeSystemNamespace, sa2, saSecret, saSecret2},
    			secretName:      "nonexistingSecret",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 20.6K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/network_test.go

    	pod1 := generatePod("127.0.0.1", "pod1", testNS, "sa1", "node1", map[string]string{"app": "a"}, nil)
    	pc.CreateOrUpdateStatus(pod1)
    	fx.WaitOrFail(t, "xds")
    
    	pod2 := generatePod("127.0.0.2", "pod2", testNS, "sa2", "node1", map[string]string{"app": "a"}, nil)
    	pc.CreateOrUpdateStatus(pod2)
    	fx.WaitOrFail(t, "xds")
    
    	sc.CreateOrUpdate(generateService("svc1", testNS, map[string]string{}, // labels
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. pilot/pkg/model/service_test.go

    			},
    			shouldEq: true,
    			name:     "matching service accounts",
    		},
    		{
    			first: &Service{
    				ServiceAccounts: []string{"sa1"},
    			},
    			other: &Service{
    				ServiceAccounts: []string{"sa2"},
    			},
    			shouldEq: false,
    			name:     "different service accounts",
    		},
    		{
    			first: &Service{
    				ClusterVIPs: AddressMap{
    					Addresses: map[cluster.ID][]string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 20:38:02 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top