Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for sniHosts (0.11 sec)

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

    	}
    	if len(chain.sniHosts) > 0 {
    		fullWildcardFound := false
    		for _, h := range chain.sniHosts {
    			if h == "*" {
    				fullWildcardFound = true
    				// If we have a host with *, it effectively means match anything, i.e.
    				// no SNI based matching for this host.
    				break
    			}
    		}
    		if !fullWildcardFound {
    			chain.sniHosts = append([]string{}, chain.sniHosts...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/conversion.go

    	for _, r := range routes {
    		if len(r.Match) == 1 && len(r.Match[0].SniHosts) > 1 {
    			r = r.DeepCopy()
    			sniHosts := []string{}
    			for _, h := range r.Match[0].SniHosts {
    				if host.Name(parentHost).Matches(host.Name(h)) {
    					sniHosts = append(sniHosts, h)
    				}
    			}
    			r.Match[0].SniHosts = sniHosts
    		}
    		res = append(res, r)
    	}
    	return res
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  3. pilot/pkg/networking/core/listener_test.go

    			Tls: []*networking.TLSRoute{
    				{
    					Match: []*networking.TLSMatchAttributes{
    						{
    							DestinationSubnets: []string{"10.10.0.0/24", "11.10.0.0/24"},
    							Port:               8080,
    							SniHosts:           []string{"a", "b", "c"},
    						},
    					},
    					Route: []*networking.RouteDestination{
    						{
    							Destination: &networking.Destination{
    								Host: "test.org",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
Back to top