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

Add values schema #138

Open
wkloucek opened this issue Dec 23, 2022 · 2 comments
Open

Add values schema #138

wkloucek opened this issue Dec 23, 2022 · 2 comments

Comments

@wkloucek
Copy link
Contributor

wkloucek commented Dec 23, 2022

Add a values schema, like eg. #57 tried to do it.

Needed for eg. a OpenShift Helm chart certification (https://redhat-connect.gitbook.io/partner-guide-for-red-hat-openshift-and-container/helm-chart-certification/helm-chart-requirements)

We should find a way to enforce the proper adaption of the schema in future PRs.

@wkloucek wkloucek added the Priority:p4-low Low priority label May 9, 2023
@Excds Excds self-assigned this May 22, 2023
@wkloucek wkloucek added Status:Blocked and removed Priority:p4-low Low priority labels May 24, 2023
@Excds
Copy link

Excds commented May 24, 2023

I did a bit of research on this and this is certainly not a painless topic. There are unmaintained projects such as https://github.com/karuppiah7890/helm-schema-gen where you can generate a schema file from values, but that will require manual editing of the resulting schema to make things work. And doing things manually completely makes that a moot point for when you have to update values.

Then there's going from the other way around with something like https://github.com/giantswarm/helm-values-gen, but that completely breaks the current documentation setup.

I found some things where both the values and schema would be generated from Yet Another Format.

So, this is currently not actionable without a bigger research task and discussion around how to manage this.

@Excds Excds removed their assignment May 24, 2023
@wkloucek
Copy link
Contributor Author

I stumbled across this recently: https://github.com/SocialGouv/helm-schema

Probably worth a proof of concept for a few values.

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

No branches or pull requests

2 participants