Skip to content
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

k8s-openapi vendor size #122

Closed
cgwalters opened this issue Aug 31, 2023 · 0 comments · Fixed by #131
Closed

k8s-openapi vendor size #122

cgwalters opened this issue Aug 31, 2023 · 0 comments · Fixed by #131

Comments

@cgwalters
Copy link
Collaborator

cgwalters commented Aug 31, 2023

OK yeah I didn't notice this at the time, but k8s-openapi has...an absolutely incredible amount of generated source code.

$ du -sc vendor | sort -nr
197216  total
62304   k8s-openapi
6924    linux-raw-sys
5420    linux-raw-sys-0.3.6
5188    encoding_rs
4868    tokio
4400    libc
3928    vcpkg
2848    regex-automata
2636    rustix

I think we can trim this; we just want the core type definitions and CRD stuff. This issue is problematic enough that we should maybe try dropping the dependency entirely.

Upstream link: Arnavion/k8s-openapi#148

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant