-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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.json to Grafana Helm charts #2605
Comments
This would be a very welcomed addition from my perspective. Is there any tooling we could use to generate these as part of ci and perhaps push them to schemastore.org, or similar? I wouldn't mind doing some of the required work if there's any suggestions. |
There is https://github.com/losisin/helm-values-schema-json and the README mentions ways of automation. But the generated schema leaves a lot to be desired:
It is probably impossible to reliably generate a schema for a given Edit: Fixed link, sorry! |
https://github.com/dadav/helm-schema works very nicely and also adds dependency charts to the schema. I just tested it with the Also, this tool can be nicely integrated into github-actions, as seen in kubernetes/ingress-nginx#11295 |
This will allow various IDE's to provide intellisense when authoring Grafana chart values.
The text was updated successfully, but these errors were encountered: