Here is my simple middleware config:
apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: ratelimit
spec:
rateLimit:
sourceCriterion:
requestHeaderName: authorization
average: 5
burst: 1
But it looks like traefik doesn't take my connfig and keep using default IPStrategy
level=debug msg="Using IPStrategy" entryPointName=websecure routerName=contentv2-traefik-ingress-dev-dev-contentapi-traefik-dev-afe6c99ff5464f31beef-eastus-aksapp-io@kubernetes middlewareName=traefik-ratelimit@kubernetescrd middlewareType=RateLimiterType
How can I config the headerName?
Thanks