Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for TransportSocketMatches (0.37 sec)

  1. pilot/pkg/networking/core/envoyfilter/cluster_patch_test.go

    		},
    	}
    
    	sidecarOutboundIn := []*cluster.Cluster{
    		{
    			Name:            "outbound|443||cluster1",
    			DnsLookupFamily: cluster.Cluster_V4_ONLY,
    			LbPolicy:        cluster.Cluster_ROUND_ROBIN,
    			TransportSocketMatches: []*cluster.Cluster_TransportSocketMatch{
    				{
    					Name: "tlsMode-istio",
    					TransportSocket: &core.TransportSocket{
    						Name: "envoy.transport_sockets.tls",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_traffic_policy_test.go

    				t.Errorf("Expected TransportSocket %v", test.expectTransportSocket)
    			}
    			if test.expectTransportSocketMatch && cluster.TransportSocketMatches == nil ||
    				!test.expectTransportSocketMatch && cluster.TransportSocketMatches != nil {
    				t.Errorf("Expected TransportSocketMatch %v", test.expectTransportSocketMatch)
    			}
    			upstreamProxyProtocol := &proxyprotocol.ProxyProtocolUpstreamTransport{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_tls.go

    				},
    				defaultTransportSocketMatch(),
    			}
    		} else {
    			if c.TransportSocket == nil {
    				c.TransportSocketMatches = hboneOrPlaintextSocket
    			} else {
    				ts := c.TransportSocket
    				c.TransportSocket = nil
    
    				c.TransportSocketMatches = []*cluster.Cluster_TransportSocketMatch{
    					hboneTransportSocket,
    					{
    						Name:            "tlsMode-" + model.IstioMutualTLSModeLabel,
    						TransportSocket: ts,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_waypoint.go

    	// Upstream of the "encap" listener.
    	clusters = append(clusters, cb.buildWaypointConnectOriginate(proxy, push))
    
    	for _, c := range clusters {
    		if c.TransportSocket != nil && c.TransportSocketMatches != nil {
    			log.Errorf("invalid cluster, multiple matches: %v", c.Name)
    		}
    	}
    	return clusters
    }
    
    // `inbound-vip||hostname|port`. EDS routing to the internal listener for each pod in the VIP.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. pilot/test/xdstest/extract.go

    	resourceNames := sets.New[string]()
    	var sockets []*core.TransportSocket
    	if c.TransportSocket != nil {
    		sockets = append(sockets, c.TransportSocket)
    	}
    	for _, ts := range c.TransportSocketMatches {
    		sockets = append(sockets, ts.TransportSocket)
    	}
    	for _, s := range sockets {
    		if s.GetTypedConfig().TypeUrl != TypeName[*tls.UpstreamTlsContext]() {
    			continue
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 19 22:42:42 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  6. pilot/test/xdstest/validate.go

    		t.Errorf("cluster %v is invalid: %v", c.Name, err)
    	}
    	validateClusterTLS(t, c)
    }
    
    func validateClusterTLS(t testing.TB, c *cluster.Cluster) {
    	if c.TransportSocket != nil && c.TransportSocketMatches != nil {
    		t.Errorf("both transport_socket and transport_socket_matches set for %v", c)
    	}
    }
    
    func ValidateRoutes(t testing.TB, ls []*route.Route) {
    	for _, l := range ls {
    		ValidateRoute(t, l)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_tls_test.go

    				t.Errorf("Expected TransportSocket %v", test.expectTransportSocket)
    			}
    			if test.expectTransportSocketMatch && opts.mutable.cluster.TransportSocketMatches == nil ||
    				!test.expectTransportSocketMatch && opts.mutable.cluster.TransportSocketMatches != nil {
    				t.Errorf("Expected TransportSocketMatch %v", test.expectTransportSocketMatch)
    			}
    
    			if test.validateTLSContext != nil {
    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/networking/core/cluster_traffic_policy.go

    				TransportSocket: c.cluster.TransportSocket,
    			})},
    		}
    	}
    
    	// add an upstream proxy protocol wrapper for each transportSocket
    	for _, tsm := range c.cluster.TransportSocketMatches {
    		tsm.TransportSocket = &core.TransportSocket{
    			Name: "envoy.transport_sockets.upstream_proxy_protocol",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 20K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_test.go

    	g.Expect(tlsContext).ToNot(BeNil())
    	g.Expect(tlsContext.GetSni()).To(Equal("custom.sni.com"))
    	g.Expect(clusters[1].TransportSocketMatches).To(HaveLen(0))
    
    	for _, i := range []int{0, 2, 3} {
    		g.Expect(getTLSContext(t, clusters[i])).To(BeNil())
    		g.Expect(clusters[i].TransportSocketMatches).To(HaveLen(2))
    	}
    }
    
    func TestAutoMTLSClusterIgnoreWorkloadLevelPeerAuthn(t *testing.T) {
    	g := NewWithT(t)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
Back to top