- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Toggle support for experimental channel #10435
Conversation
Thank you for filing this pull request. |
Hello @SantoDE, Nice to see you around, and thanks for this contribution! I started to review the PR, and first I wanted to know if toggling the informers' setup would be enough. After some testing, there are no errors raised, even if Traefik RBAC does not give rights for resources of the experimental channel. Nonetheless, as the provider will go through resource discovery, toggling only the informers' setup, will not prevent the experimental channel resources (for now I noticed that Kubernetes CRDs are distributed distinctively for each channel, and an annotation ( Regarding the option naming, I would find it more accurate to reuse the channel vocabulary, standard channel versus experimental channel, more than alpha versus beta. |
I dont get it, I am sorry. |
Thank you all for the comments. Let me try to elaborate :) @xEBIx:
Does that make more sense? Last but not least, yes, bumping the CRDs on the other side is done already. Helm Chart PR About the other code paths being executed: I was under the impression, since we don't add the eventHandler, it wouldn't see changes. I was wrong :) Hence, I agree with you - I think we should check at the actual route kind when building config, whether or not we should process it. WDYT? |
Hello @SantoDE, Sure, indeed I think checking if the route kind is supported seems to way to go. |
I am afraid, no it does not make sense to me. It wouldnt be that kind of a deal, if it would work in the end. But it does NOT! I cant install traefik with helm, because of the CRDs Traefik wants to have in v1alpha2 and Gateway has it in v1, and also cert-manager is using it in v1. So, in the process of creating certificates, certmanager is creating resources in v1 and Traefik searches them in v1alpha2, and of course cant find them, because they have been created in v1 by cert-manager. Please see my other issue here. Or the one at Gateway API: kubernetes-sigs/gateway-api#2771 Furthermore there is another issue on there end, I created, because their admissions server did not support your created resources in their recent release, they reanabled those in the admission server again, more or less for traefik to work. |
Hello @xEBIx, I think there is a bit of confusion here. The However, not graduated resources yet do (as of now) still have the However, your claim is correct. Prior to the Traefik version Im also on the CNCF slack or the Kubernetes slack if you wanna discuss more. |
d06d83f
to
a66236d
Compare
a66236d
to
c353396
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
465f4a0
to
fb60818
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 👍
What does this PR do?
Motivation
The standard channel of Gateway API does not include Alpha API Versions anymore. If a user does the standard channel installation and then starts Traefik, Traefik won't be able to start properly.
With adding that knob, users can opt-in into the usage of the alpha APIs in case they need / want to.
More
Additional Notes
Fixes #10440