k8s icon indicating copy to clipboard operation
k8s copied to clipboard

Code generator to create a Model from a JSON-Schema

Open mortenlj opened this issue 3 years ago • 0 comments

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.

mortenlj avatar Oct 26 '21 10:10 mortenlj