-
Notifications
You must be signed in to change notification settings - Fork 41
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
Make kubectl-validate compatible with WASM #79
Comments
Yeah this is mainly due to our reliance on If we remove the ability to validate CRDs by schema and just skip/error on CRDs then this requirement can be removed. Curious about people's thoughts on that proposition |
@alexzielenski do you suggest removing CRD support ? |
IIRC code like this was part of the problem |
I am waffling about it. It is the only resource we cheat for validation on and it would be a lot of work to support its recursive schema. I wonder if users would miss it
Ah, if that is the case that can also be quite easily removed & replicated within our own codebase |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
Took another look at this. We rely on a lot more code than just ValidateCustomResourceDefinition inside apiextensions-apiserver (all CEL validaiton lives there, as well as structural schema definitions and ratcheting validators). Unfortunately itd be quite a large refactor to move them out of that package upstream, and I would rather keep the dependency to ensure the code says the same. |
Currently it's not possible to use kubectl-validate and build a wasm module because of dependencies that bring a reference to etcd (that has non supported syscalls).
I think there's no reason why it should not be possible, probably requires to change packages organisation a little bit though to avoid the package level reference to etcd ?
The text was updated successfully, but these errors were encountered: