AlinsRan commented on code in PR #2148:
URL:
https://github.com/apache/apisix-ingress-controller/pull/2148#discussion_r1474134547
##########
test/e2e/suite-chore/consistency.go:
##########
@@ -180,8 +187,15 @@ var _ = ginkgo.Describe("suite-chore: Consistency between
APISIX and the Ingress
s.NewAPISIXClient().GET("/ip").WithHeader("Host",
"httpbin.org").Expect().Status(http.StatusOK)
})
-
+ if os.Getenv("K8S_VERSION") == "v1.29.0" {
Review Comment:
We may be able to obtain the k8 version through the API. please ref:
https://pkg.go.dev/k8s.io/[email protected]/discovery#DiscoveryClient.ServerVersion

k8s version >= v1.25
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]