Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for VersionGreaterAndEqual (0.2 sec)

  1. pilot/pkg/model/context.go

    	case Router, Waypoint:
    		// Gateways should just have a default scope with egress: */*
    		node.SidecarScope = ps.getSidecarScope(node, nil)
    	}
    	node.PrevSidecarScope = sidecarScope
    }
    
    func (node *Proxy) VersionGreaterAndEqual(inv *IstioVersion) bool {
    	if inv == nil {
    		return true
    	}
    	return node.IstioVersion.Compare(inv) >= 0
    }
    
    // SetGatewaysForProxy merges the Gateway objects associated with this
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 08:29:05 UTC 2024
    - 33.6K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/route/route.go

    	out := cors.CorsPolicy{}
    	// Start from Envoy 1.30(istio 1.22), cors filter will not forward preflight requests to upstream by default.
    	// Istio start support this feature from 1.23.
    	if proxy.VersionGreaterAndEqual(&model.IstioVersion{Major: 1, Minor: 23, Patch: -1}) {
    		out.ForwardNotMatchingPreflights = forwardNotMatchingPreflights(in)
    	}
    
    	// nolint: staticcheck
    	if in.AllowOrigins != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
Back to top