when I tried to create the middleware:
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: test-auth
spec:
forwardAuth:
address: https://example.com/auth
shows error:
E0920 19:19:51.718526 96735 memcache.go:287] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E0920 19:19:52.139693 96735 memcache.go:121] couldn't get resource list for metrics.k8s.io/v1beta1: the server is currently unable to handle the request
error: resource mapping not found for name: "test-auth" namespace: "" from "/private/var/folders/1p/dz3r2rz55kd60_t8sgslkvvh0000gn/T/d9128eaaf4f2e6850476c1cf830476fb/resource.yaml": no matches for kind "Middleware" in version "traefik.io/v1alpha1"
ensure CRDs are installed first
am I missing something? this is the docuement: Traefik ForwardAuth Documentation - Traefik