HIP-0027: Generate values.schema.json from values.yaml#410
HIP-0027: Generate values.schema.json from values.yaml#410salvorusso wants to merge 1 commit intohelm:mainfrom
Conversation
Signed-off-by: Salvo Russo <salvorusso97@hotmail.it>
|
You mentioned helm-schema-gen, another good tool to model/incorporate could be dadav/helm-schema |
gjenkins8
left a comment
There was a problem hiding this comment.
Thanks for the proposed HIP!
I think a major question is going to be: Why build this into Helm?
In that, it is a very generic problem to generate a json schema from an example yaml document.
Building this tooling into Helm requires Helm maintainers to understand and maintain the solution. Limits the solution to only technologies that Helm incorporates. And subjects the solution to Helm's backwards compatibility rules (HIP-0004), which makes can make it difficult to evolve any solution(s) quickly.
In all, this is about balance between the "Unifies tooling" motivation in the HIP vs. the practical realities of building the functionality into Helm I think.
More pragmatically, today this could be achieved via a plugin as well. Which still provides integration with Helm, but avoid most of the negatives above
scottrigby
left a comment
There was a problem hiding this comment.
please change to hip-9999 to start until a number is assigned. See hip-0001 for details.
This PR introduces a new Helm Improvement Proposal (HIP) describing a feature to generate a draft
values.schema.jsonfrom a chart’svalues.yaml.More details here: hip-0027.md