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

Code generator to create a Model from a JSON-Schema #97

Open
mortenlj opened this issue Oct 26, 2021 · 0 comments
Open

Code generator to create a Model from a JSON-Schema #97

mortenlj opened this issue Oct 26, 2021 · 0 comments

Comments

@mortenlj
Copy link
Member

mortenlj commented Oct 26, 2021

CRDs in the cluster can have an attached JSON-Schema.
If the CRD is from some other project, working with it using k8s requires that you define a Model in your own code.

It would be very useful if k8s had a generator that could create the Model from a JSON-Schema, which you could use in such projects.

The same generator could with some small adjustments be used to generate models from the standard Kubernetes API, replacing our hand crafted models.

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

No branches or pull requests

1 participant