Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for applyUpstreamTLSSettings (0.59 sec)

  1. pilot/pkg/networking/core/cluster_traffic_policy_test.go

    			opts := &buildClusterOpts{
    				mutable: newClusterWrapper(&cluster.Cluster{
    					ClusterDiscoveryType: &cluster.Cluster_Type{Type: test.discoveryType},
    				}),
    				mesh: push.Mesh,
    			}
    			cb.applyUpstreamTLSSettings(opts, test.tls, test.mtlsCtx)
    			// apply proxy protocol settings
    			cb.applyUpstreamProxyProtocol(opts, test.proxyProtocolSettings)
    			cluster := opts.mutable.cluster
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 03:53:05 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/cluster_tls.go

    }
    
    var hboneOrPlaintextSocket = []*cluster.Cluster_TransportSocketMatch{
    	hboneTransportSocket,
    	defaultTransportSocketMatch(),
    }
    
    // applyUpstreamTLSSettings applies upstream tls context to the cluster
    func (cb *ClusterBuilder) applyUpstreamTLSSettings(
    	opts *buildClusterOpts,
    	tls *networking.ClientTLSSettings,
    	mtlsCtxType mtlsContextType,
    ) {
    	c := opts.mutable
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/cluster_traffic_policy.go

    			autoMTLSEnabled := opts.mesh.GetEnableAutoMtls().Value
    			tls, mtlsCtxType := cb.buildUpstreamTLSSettings(tls, opts.serviceAccounts, opts.istioMtlsSni,
    				autoMTLSEnabled, opts.meshExternal, opts.serviceMTLSMode)
    			cb.applyUpstreamTLSSettings(&opts, tls, mtlsCtxType)
    			cb.applyUpstreamProxyProtocol(&opts, proxyProtocol)
    		}
    	}
    
    	if opts.mutable.cluster.GetType() == cluster.Cluster_ORIGINAL_DST {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 23 05:38:57 UTC 2024
    - 20K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/cluster_tls_test.go

    					ClusterDiscoveryType: &cluster.Cluster_Type{Type: test.discoveryType},
    				}),
    				mesh: push.Mesh,
    			}
    			if test.h2 {
    				setH2Options(opts.mutable)
    			}
    			cb.applyUpstreamTLSSettings(opts, test.tls, test.mtlsCtx)
    
    			if test.expectTransportSocket && opts.mutable.cluster.TransportSocket == nil ||
    				!test.expectTransportSocket && opts.mutable.cluster.TransportSocket != 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)
Back to top