-
Notifications
You must be signed in to change notification settings - Fork 767
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
It's impossible to disable a port defined in the default config by setting it to null #890
Comments
@marekvospel Thanks for your interest in Traefik and this report. I've made a PR that should give this capacity. I won't recommend to disable |
It's now possible in v23.2.0. |
Hey @mloiseleur It seems this is still an issue, at least for disabling
This is because now I'm not sure what's the expected way forward here. Up until now we had always had This is what we had and was working until v23.2.0:
This is now what I need to have:
Let me know if you'd rather I open a new issue! Thanks again! |
Thanks for this report. When a user wants to disable @marekvospel @mantoine96 Would you please let me know if I missed something or if you have a better (non breaking) idea ? |
I'm in no way familiar with this helm chart enough to give a propper review, but at quick glance it looks good - makes sense and I don't think I would have done it sny other way. |
You can see what it generates by pulling the PR and apply helm template locally, like this: helm template traefik -f myvalues.yaml ./traefik |
@mloiseleur Thanks for the PR. From my side it looks good to me. I don't think there's a way to solve this in a not breaking way for users that disable the traefik port. There are already a few things that need to be set in that case (such as configuring the Thanks! |
Welcome!
What version of the Traefik's Helm Chart are you using?
23.1.0
What version of Traefik are you using?
2.10.1
What did you do?
Traefik helm chart creates 4 entrypoints by default, web, websecure, traefik and prometheus. I only need web and websecure, so I've been trying to disable traefik and prometheus ports.
I've found #220, which said it is possible to use null, which had correct behavior, but fails during installation with an error in trying to expose the ports through kubernetes
What did you see instead?
What is your environment & configuration?
Additional Information
No response
The text was updated successfully, but these errors were encountered: