-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid middleware "default-code-server-sablier@kubernetescrd" configuration #140
Comments
I just tried on my local machine and indeed I have the following error:
I'll have to chat with the @traefik team |
Now after a reboot of my traefik instance it works, because if you try it yourself you can actually download https://plugins.traefik.io/public/download/github.com/acouvreur/sablier/v1.3.0/. Can you please do As it is a CRD by Traefik, and mentioned here https://github.com/acouvreur/sablier/blob/main/docs/guides/code-server-traefik-kubernetes.md#5-routing-code-server-through-traefik-with-the-sablier-plugin-middleware at step You should be able to create the middleware. Maybe you have forgotten or skip this step? |
Hi, I looked through my logs in Graylog and found the following:
So I looked online to find which folder was required and found this: traefik/traefik-helm-chart#280 Which says there should be a /plugin-storage folder. I gave my Traefik deployment an emptydir for that /plugin-storage path. After restarting the pods I can see that the subfolders got populated with the plugin, and tested again. This time the dashboard shows that everything is OK and the plugin works as expected. |
Very glad to here that! Did you have a different initial configuration for the Guide then ? Or did you use some custom values for the helm chart? |
Thank you! |
I do not use a Helm chart for Traefik, I used the official Helm chart with This was just over a week ago, since then I also updated to Traefik 2.9.9, so maybe something changed on their end. Great to hear! I also missed that log at first, was banging my head against the wall for about a hour. |
Hi :-)
Describe the bug
I followed your code server guide but it's not working.
I'm using k3s with default traefik installation.
If I deploy only the middleware without an ingress there are no errors visible in the traefik dashboard.
But if I apply the ingress with the annotation to use the middleware there is an error in traefik:
invalid middleware "default-code-server-sablier@kubernetescrd" configuration: invalid middleware type or middleware does not exist
.What can be wrong?
Context
Expected behavior
It should work, haha ;-)
Additional context
The text was updated successfully, but these errors were encountered: