-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Use ComponentConfig #107
Comments
Yeah! Definitely one of the reasons I used go, we should get around to fixing this :-) |
BTW, the codecs in api-machinery are bound to json-iter and do not support strict unmarshalling. json-iter supports it except that it's options are hardcoded. so if there is a plan for a switch to unmarshaling from codecs instead of plain yaml.UnsmarshalStrict, possibly yaml.UnmarshalStrict has to be moved as a pre-step before decoding. |
oh that is an interesting problem. I'm not overly attached to strict unmarshaling, I actually had an ulterior motive of seeing how well switching went before switching prow's config, but it does seem helpful to actually error on unknown fields..
I'm not sure I follow there, what would that look like roughly? |
@neolit123 I think this should be discussed in the componentconfig KEP threads instead of here, which is more the implementation. |
But yeah, +1 to warn on unknown fields |
validation happens at |
commented: kubernetes/community#2354 (comment) |
Hmm, I think we should teach the decoder to handle strict instead then, our homebrew GVK thing works OK if not being the best thing to maintain long term. It seems like everyone will benefit from a strict option as discussed here now by @neolit123 and co. kubernetes/community#2354 (comment) |
@BenTheElder @neolit123 Please redirect discussion to actionable, generic work items of the upcoming |
@BenTheElder @munnerz is there any chance that I could help with this? :-) |
currently we aren't configuring things covered by k8s.io/component directly (potentially kubeadm is). we'll adopt it when we configure them. |
@BenTheElder using https://github.com/luxas/sample-config as a reference, you can adopt ComponentConfig meanwhile. Whether you need k8s.io/component or not is to be seen later when it exists but meanwhile it makes sense to adopt the common k8s API machinery I think |
kind is already doing parts of the componentconfig spec: |
That's very cool, thanks @fabriziopandini. Do you think there's anything more that needs to be done yet or is this initially done? |
Sounds good @fabriziopandini! |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
this timeout out it seems. kind already supports component configuration. |
I'm pretty happy with our component configuration even if it does use a small inline implementation that is not the component-base tooling. We can revisit that in the future, but I don't see much upside now that we have it, pulling in those tools makes it harder to embed in projects like kinder, which is probably not relevant to most component-base projects but is to kind. |
…_addon [EOS-11310] [EKS] Cambiar despliegue de coredns como addon
See my talk on how to do it, but you probably already know ;)
https://sched.co/FuKB
Sample repo: https://github.com/luxas/sample-config
The text was updated successfully, but these errors were encountered: