helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

How are people generating the JSON schema?

Open k4leung4 opened this issue 3 years ago • 2 comments

Question

Curious what people are using to generate the JSON schema, as I'm not sure what I'm doing is the best way. I've been using

  • YAML to JSON from https://jsonformatter.org/yaml-to-json, with the values.yaml and
  • JSON Schema from https://www.jsonschema.net/app/schemas/0, with the output above to generate the schema

Do other people have better tooling for this?

k4leung4 avatar Jun 02 '22 18:06 k4leung4

I don't think this is better, but I've been using this (deprecated) helm plugin -- https://github.com/karuppiah7890/helm-schema-gen

priyawadhwa avatar Jun 03 '22 09:06 priyawadhwa

Funny that you should mention it. Like. @priyawadhwa mentioned, I have gone down a similar path to what you have mentioned as well @k4leung4 . I will note that in the past, I have used some tools, such as Readme Generator For Helm, to assist in generating.

However, you bring up a good point which I'll being up on the Helm side

sabre1041 avatar Jun 04 '22 21:06 sabre1041