Skip to content

Conversation

@salvorusso
Copy link

@salvorusso salvorusso commented Sep 22, 2025

This PR introduces a new Helm Improvement Proposal (HIP) describing a feature to generate a draft values.schema.json from a chart’s values.yaml.

More details here: hip-0027.md

Signed-off-by: Salvo Russo <[email protected]>
@ejstreet
Copy link

You mentioned helm-schema-gen, another good tool to model/incorporate could be dadav/helm-schema

Copy link
Member

@gjenkins8 gjenkins8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants