Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getConfigsForHost (0.31 sec)

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

    	nsMatch := match.SourceNamespace == "" || match.SourceNamespace == proxyNamespace
    
    	return gatewayMatch && labelMatch && portMatch && nsMatch
    }
    
    // Select the config pertaining to the service being processed.
    func getConfigsForHost(filterNamespace string, hostname host.Name, configs []config.Config) []config.Config {
    	svcConfigs := make([]config.Config, 0)
    	for _, cfg := range configs {
    		virtualService := cfg.Spec.(*v1alpha3.VirtualService)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/listener_waypoint.go

    	// TODO: Policy binding via VIP+Host is inapplicable for direct pod access.
    	if svc == nil {
    		return buildSidecarInboundHTTPRouteConfig(lb, cc)
    	}
    	vss := getConfigsForHost(lb.node.ConfigNamespace, svc.Hostname, lb.node.SidecarScope.EgressListeners[0].VirtualServices())
    	if len(vss) == 0 {
    		return buildSidecarInboundHTTPRouteConfig(lb, cc)
    	}
    	if len(vss) > 1 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listener.go

    	var svcConfigs []config.Config
    	if opts.service != nil {
    		// Do not filter namespace for now.
    		// TODO(https://github.com/istio/istio/issues/46146) we may need to, or something more sophisticated
    		svcConfigs = getConfigsForHost("", opts.service.Hostname, virtualServices)
    	} else {
    		svcConfigs = virtualServices
    	}
    
    	out = append(out, buildSidecarOutboundTLSFilterChainOpts(opts.proxy, opts.push, opts.cidr, opts.service,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top