Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SupportsGatewayAPI (0.16 sec)

  1. pkg/test/framework/components/crd/gateway.go

    	"istio.io/istio/pkg/test/framework/resource"
    	"istio.io/istio/pkg/test/framework/resource/config/apply"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    // SupportsGatewayAPI checks if the gateway API is supported.
    func SupportsGatewayAPI(t resource.Context) bool {
    	for _, cluster := range t.Clusters() {
    		if !cluster.MinKubeVersion(23) { // API uses CEL which requires 1.23
    			return false
    		}
    	}
    	return true
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 17:54:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top