CustomRessourceDefinition with v1 not v1beta1

Hi everyone...

I am trying to rewrite the custom ressource definitions to match the format for apiextensions.k8s.io/v1. On the website there are only the old v1/beta1 (Overview - Traefik)

As far as I have come:

apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: middlewares.traefik.containo.us

spec:
  group: traefik.containo.us
  versions:
    - name: v1alpha1
      served: true
      storage: true
      schema:
       openAPIV3Schema:
        type: object
        properties:
            spec:
              type: object

  names:
    kind: Middleware
    plural: middlewares
    singular: middleware
  scope: Namespaced

Later I want to use it like that:

apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
  name: stripprefix
spec:
  stripPrefix:
    prefixes:
            - "/path"

Right now it's accepting the yaml files but I still get an error in the traefik logs:

"msg":"invalid middleware \"default-stripprefix@kubernetescrd\"
configuration: invalid middleware type or middleware does not exist",
"routerName":"minimal-ingress-default@kubernetes"

Nothing else was changed in the config.

Thanks in advance !