Closed poloyacero closed 2 years ago
I'ved created and installed a simple plugin, https://plugins.traefik.io/plugins/633ea0230362b66628c949d6/header-authorization
Have it installed in my traefik instance, using helm
traefik-values.yaml
experimental: http3: enabled: false plugins: enabled: true headauth: moduleName: "github.com/poloyacero/headauth" version: "v0.0.1"
dynamic_configuration
apiVersion: traefik.containo.us/v1alpha1 kind: Middleware metadata: name: headerauth spec: plugin: headauth: header: name: "X-User-Role" allowed: - "super_admin" methods: - PATCH - DELETE - POST
Basically just went through the instructions from Plugin Catalog but when I use the middleware plugin and have it assign to a route I got this error,
Please let me know if I missed something. Thank you so much...
solution:
additionalArguments: - --experimental.plugins.headauth.modulename=github.com/poloyacero/headauth - --experimental.plugins.headauth.version=v0.0.1
I'ved created and installed a simple plugin, https://plugins.traefik.io/plugins/633ea0230362b66628c949d6/header-authorization
Have it installed in my traefik instance, using helm
traefik-values.yaml
dynamic_configuration
Basically just went through the instructions from Plugin Catalog but when I use the middleware plugin and have it assign to a route I got this error,
Please let me know if I missed something. Thank you so much...