help request: I am unable to deploy APISIX version 3.15 via Helm within a GKE 1.35 cluster.
Description
GKE version: 1.35.1-gke.1396002
apisix helm chart version: 2.12.6
apisix version: 3.15.0
In GKE version 1.35, a validatingadmissionpolicy resource called enforce-gateway-standard-channel was added. This prevents the deployment of gateway API-related resources with the gateway.networking.k8s.io/channel: experimental annotation. Unfortunately, this annotation is present in the gwapi-crds.yaml file within the Apisix charts, causing Helm deployment failures. This is because gateway API-related resources are deployed through GKE's own components. While Apisix's gateway API-related CRD resources don't need to be deployed, I couldn't find a corresponding switch in values.yaml. The only solution I can think of is deleting the gwapi-crds.yaml file. Are there any better workarounds?
Environment
GKE version: 1.35.1-gke.1396002 apisix helm chart version: 2.12.6 apisix version: 3.15.0
An installation toggle for the Gateway API CRD should be added to the apisix-ingress-controller chart. To do this, move gwapi-crds.yaml from the crds/ directory to the templates/ directory and wrap it in an if statement, or add a new values toggle (such as gateway-api.crds.enabled).
Looks like this PR would also solve this ticket: https://github.com/apache/apisix-helm-chart/pull/919
The recent chart version 1.3.0 changed experimental to standard, ref: https://github.com/apache/apisix-helm-chart/blob/d166ba101f9bdb7e08bc902ff757647421bbd57f/charts/apisix-ingress-controller/crds/gwapi-crds.yaml#L7 You can use the recent chart version and let us know if that resolves it.