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

Kubernetes Resource Typescript Generation #353

Open
RichiCoder1 opened this issue May 21, 2020 · 1 comment
Open

Kubernetes Resource Typescript Generation #353

RichiCoder1 opened this issue May 21, 2020 · 1 comment
Labels

Comments

@RichiCoder1
Copy link

Just stumbled across this project and already a general fan! I'm currently using cdk8s, which has an import feature which allows for generating typescript class/validation from kubernetes resource definitions and CRDs. Is this something JK would consider?

Related #54

@squaremo
Copy link
Member

Yes I think so. If it can be written as, or compiled to, pure JavaScript, it could just be a module to be called with (say),

jk run -m @jkcfg/kubernetes/importtypes

This seems plausible -- it's just recursion over a YAML structure, and jk can read YAMLs. But it may not be trivial!

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

No branches or pull requests

2 participants