Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 46 for Se (0.04 sec)

  1. tests/integration/security/egress_sidecar_tls_origination_test.go

    ) {
    	args := map[string]any{
    		"to":               to,
    		"Mode":             destinationRuleMode,
    		"CredentialName":   credentialName,
    		"WorkloadSelector": workloadSelector,
    	}
    	se := `
    apiVersion: networking.istio.io/v1alpha3
    kind: ServiceEntry
    metadata:
      name: originate-mtls-for-nginx
    spec:
      hosts:
      - "{{ .to.Config.ClusterLocalFQDN }}"
      ports:
      - number: 80
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	epAddresses []string,
    ) {
    	t.Helper()
    
    	se := &apiv1alpha3.ServiceEntry{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      name,
    			Namespace: ns,
    			Labels:    labels,
    		},
    		Spec:   *generateServiceEntry(hostStr, addresses, labels, epAddresses),
    		Status: v1alpha1.IstioStatus{},
    	}
    	s.se.CreateOrUpdate(se)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  3. pilot/pkg/xds/nds_test.go

    					},
    				},
    			},
    		},
    	}
    	for _, tt := range cases {
    		t.Run(tt.name, func(t *testing.T) {
    			s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{
    				ConfigString: mustReadFile(t, "./testdata/nds-se.yaml"),
    			})
    
    			ads := s.ConnectADS().WithType(v3.NameTableType)
    			res := ads.RequestResponseAck(t, &discovery.DiscoveryRequest{
    				Node: &core.Node{
    					Id:       ads.ID,
    					Metadata: tt.meta.ToStruct(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/controller.go

    	// Add the ServiceExport info.
    	for _, se := range c.exports.ExportedServices() {
    		mcsService := outMap[se.namespacedName]
    		mcsService.Cluster = c.Cluster()
    		mcsService.Name = se.namespacedName.Name
    		mcsService.Namespace = se.namespacedName.Namespace
    		mcsService.Exported = true
    		mcsService.Discoverability = se.discoverability
    		outMap[se.namespacedName] = mcsService
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceentry/store_test.go

    	store.updateServiceEntryInstances(key, expectedSeInstances)
    
    	gotSeInstances := store.getServiceEntryInstances(key)
    	if !reflect.DeepEqual(gotSeInstances, expectedSeInstances) {
    		t.Errorf("got unexpected se instances : %v", gotSeInstances)
    	}
    
    	// 5. test deleteServiceEntryInstances
    	store.deleteServiceEntryInstances(key, cKey)
    	gotSeInstances = store.getServiceEntryInstances(key)
    	if len(gotSeInstances) != 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. tests/integration/telemetry/api/stats_test.go

    			t.ConfigIstio().File(apps.Namespace.Name(), filepath.Join(base, "istio-mtls-gateway.yaml")).ApplyOrFail(t)
    			t.ConfigIstio().File(apps.Namespace.Name(), filepath.Join(base, "istio-mtls-vs.yaml")).ApplyOrFail(t)
    
    			// The main SE is available only to app namespace, make one the egress can access.
    			t.ConfigIstio().Eval(ist.Settings().SystemNamespace, map[string]any{
    				"Namespace": apps.External.Namespace.Name(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_tls_test.go

    				},
    				err: nil,
    			},
    		},
    		{
    			name: "tls mode SIMPLE, with SANs specified in service entries",
    			opts: &buildClusterOpts{
    				mutable:         newTestCluster(),
    				serviceAccounts: []string{"se-san.com"},
    				serviceRegistry: provider.External,
    			},
    			tls: &networking.ClientTLSSettings{
    				Mode:           networking.ClientTLSSettings_SIMPLE,
    				CaCertificates: rootCert,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  8. pilot/pkg/xds/eds_test.go

    	s := xdsfake.NewFakeDiscoveryServer(t, xdsfake.FakeOptions{
    		ConfigString: mustReadFile(t, "tests/testdata/config/destination-rule-all.yaml") +
    			mustReadFile(t, "tests/testdata/config/static-weighted-se.yaml"),
    	})
    	ads := s.Connect(nil, nil, watchAll)
    	t.Run("Full Push", func(t *testing.T) {
    		s.Discovery.Push(&model.PushRequest{Full: true})
    		if _, err := ads.Wait(time.Second*5, watchAll...); err != nil {
    			t.Fatal(err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 20:58:47 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  9. pilot/pkg/xds/xds_test.go

    			Equals(true, "{.useOriginalDst}").
    			CheckOrFail(t)
    	})
    
    	t.Run("mongo", func(t *testing.T) {
    		s := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{
    			ConfigString: mustReadFile(t, "tests/testdata/config/se-example.yaml"),
    		})
    		proxy := s.SetupProxy(&model.Proxy{
    			IPAddresses: []string{"10.2.0.1"},
    			ID:          "app3.testns",
    		})
    		structpath.ForProto(xdstest.ToDiscoveryResponse(s.Listeners(proxy))).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  10. tests/integration/ambient/baseline_test.go

        - destination:
            host: "{{.Destination}}"
    `).ApplyOrFail(t)
    
    			cfg := config.YAML(`
    {{ $to := .To }}
    apiVersion: networking.istio.io/v1beta1
    kind: ServiceEntry
    metadata:
      name: test-se
    spec:
      hosts:
      - serviceentry.istio.io # not used
      addresses:
      - 111.111.222.222
      ports:
      - number: 80
        name: http
        protocol: HTTP
      resolution: {{.Resolution}}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
Back to top