Plugin: unknown plugin type

Traefik version: v2.10.6

experimental:
enabled: true
plugins:
- traefik-plugin-jwt-antpath:
moduleName: "GitHub - x-ream/traefik-plugin-jwt-antpath: Traefik plugin of jwt, antpath"
version: "v0.0.1"

apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: jwt-ant
spec:
plugin:
traefik-plugin-jwt-antpath:
HeaderKey: "Authorization"
Paths:
- /base/app-home/**

ERRORS: plugin: unknown plugin type: traefik-plugin-jwt-antpath

traefik.ingress.kubernetes.io/router.middlewares: test-jwt-ant@kubernetescrd,test-strip-prefix@kubernetescrd
anyway, test-strip-prefix@kubernetescrd is OK

First I recommend to format your config, use 3 backticks before and after, in yaml every space matters, and we can’t see it correctly.

I have solved the problem.

experimental:
enabled: true
plugins:
jwtantpath:
moduleName: "GitHub - x-ream/traefik-plugin-jwt-antpath: Traefik plugin of jwt, antpath"
version: "v0.0.3"

How to get backticks

You can also select text and press </> under the settings wheel.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.