Unable to follow "Getting Started" guide, cannot install Traefik on Kubernetes via Helm

Hello, I'm trying to follow the Kubernetes setup for Traefik here:

However, I am unable to successfully complete the step "Install the Traefik Using the Helm Values." After installing

PS> helm install traefik traefik/traefik --namespace traefik --values values.yaml

Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: [resource mapping not found for name: "traefik-gateway" namespace: "traefik" from "": no matches for kind "Gateway" in version "gateway.networking.k8s.io/v1"
ensure CRDs are installed first, resource mapping not found for name: "traefik" namespace: "" from "": no matches for kind "GatewayClass" in version "gateway.networking.k8s.io/v1"
ensure CRDs are installed first]

I have a test cluster set up on AWS, as well as a local one set up with Minikube. Installing on either results in the same issue. kubectl version returns

Client Version: v1.36.0
Kustomize Version: v5.8.1
Server Version: v1.35.4

values.yaml is unchanged from the "Getting Started" setup instructions. I tried searching online and in this forum for similar issues, but only found mentions of using the Gateway API instead of ingresscontroller and having the KubernetesCRD provider, which I believe is the default in the yaml file provided in Getting Started.

Would anyone be able to help me figure out how I can resolve this issue?

I just ran into the same issue, and was able to resolve it by installing the Kubernetes Gateway API CRDs:

kubectl apply -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.6.1/standard-install.yaml

Its described somewhere deep in the docs, Traefik Kubernetes Gateway API Documentation - Traefik

Afterwards, I was able to install traefik with helm:

helm install traefik traefik/traefik -f values.yaml --wait --create-namespace -n traefik