Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for sa2 (0.49 sec)

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

    	// create the waypoint service
    	s.addService(t, "waypoint-sa2",
    		map[string]string{constants.ManagedGatewayLabel: constants.ManagedGatewayMeshControllerLabel},
    		map[string]string{},
    		[]int32{80}, map[string]string{constants.GatewayNameLabel: "waypoint-sa2"}, "10.0.0.3")
    	s.assertEvent(t,
    		s.podXdsName("waypoint-sa2-pod"),
    		s.svcXdsName("waypoint-sa2"),
    	)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  2. 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)
  3. pilot/pkg/model/endpointshards_test.go

    			expect:    false,
    		},
    		{
    			name:      "added new sa",
    			shardKey:  c1Key,
    			endpoints: append(cluster1Endppoints, &IstioEndpoint{Address: "10.172.0.3", ServiceAccount: "sa2"}),
    			expect:    true,
    		},
    		{
    			name:     "updated endpoints address",
    			shardKey: c1Key,
    			endpoints: []*IstioEndpoint{
    				{Address: "10.172.0.5", ServiceAccount: "sa1"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 15:48:05 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. pilot/pkg/model/push_context_test.go

    		}
    		index.shardsBySvc[string(svc.Hostname)][svc.Attributes.Namespace] = &EndpointShards{
    			ServiceAccounts: sets.New("spiffe://cluster.local/ns/def/sa/sa1", "spiffe://cluster.local/ns/def/sa/sa2"),
    		}
    	}
    	b.ResetTimer()
    	for n := 0; n < b.N; n++ {
    		ps.initServiceAccounts(env, services)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  8. pkg/config/validation/validation_test.go

    							{
    								Source: &security_beta.Source{
    									Principals: []string{"sa1"},
    								},
    							},
    							{
    								Source: &security_beta.Source{
    									Principals: []string{"sa2"},
    								},
    							},
    						},
    						To: []*security_beta.Rule_To{
    							{
    								Operation: &security_beta.Operation{
    									Methods: []string{"GET"},
    								},
    							},
    							{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
Back to top