Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for sa1 (0.12 sec)

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

    	s.assertEvent(t, s.podXdsName("pod2"))
    
    	s.addWaypoint(t, "10.0.0.1", "waypoint-sa1", "", false)
    	s.addWaypoint(t, "10.0.0.2", "waypoint-sa2", constants.WorkloadTraffic, true)
    	s.assertEvent(t, s.podXdsName("pod2"))
    
    	// make waypoint-sa1 ready
    	s.addWaypoint(t, "10.0.0.1", "waypoint-sa1", constants.WorkloadTraffic, true)
    	// if waypoint-sa1 was configured when not ready "pod2" assertions should skip the "pod1" xds event and this should fail
    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

    	s := newAmbientTestServer(t, testC, testNW)
    	s.addWorkloadEntries(t, "", "emptyaddr1", "sa1", map[string]string{"app": "a"})
    	s.assertEvent(t, s.wleXdsName("emptyaddr1"))
    	s.assertWorkloads(t, "", workloadapi.WorkloadStatus_HEALTHY, "emptyaddr1")
    
    	s.addWorkloadEntries(t, "", "emptyaddr2", "sa1", map[string]string{"app": "a"})
    	s.assertEvent(t, s.wleXdsName("emptyaddr2"))
    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/serviceregistry/kube/controller/network_test.go

    			return nil
    		}, retry.Timeout(time.Second*5))
    	}
    
    	pc := clienttest.NewWriter[*corev1.Pod](t, s.client)
    	sc := clienttest.NewWriter[*corev1.Service](t, s.client)
    	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)
    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. pkg/printers/internalversion/printers_test.go

    		{
    			serviceAccount: api.ServiceAccount{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:              "sa1",
    					CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)},
    				},
    				Secrets: []api.ObjectReference{},
    			},
    			// Columns: Name, (Num) Secrets, Age
    			expected: []metav1.TableRow{{Cells: []interface{}{"sa1", int64(0), "0s"}}},
    		},
    		// Basic service account with two secrets.
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  5. pilot/pkg/model/push_context_test.go

    			index.shardsBySvc[string(svc.Hostname)] = map[string]*EndpointShards{}
    		}
    		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)
  6. pkg/config/validation/validation_test.go

    						"version": "v1",
    					},
    				},
    				Rules: []*security_beta.Rule{
    					{
    						From: []*security_beta.Rule_From{
    							{
    								Source: &security_beta.Source{
    									Principals: []string{"sa1"},
    								},
    							},
    							{
    								Source: &security_beta.Source{
    									Principals: []string{"sa2"},
    								},
    							},
    						},
    						To: []*security_beta.Rule_To{
    							{
    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