rancher / rancher

Complete container management platform
http://rancher.com
Apache License 2.0
22.79k stars 2.92k forks source link

[rancher/charts] Add JSON Schema to Helm charts #31851

Open aiyengar2 opened 3 years ago

aiyengar2 commented 3 years ago

Adding JSON schemas would allow us to validate the contents provided to fields within a Rancher-maintained Helm chart. It will also help us move towards the automatic form generation for the Rancher UI.

Could be accomplished by adding an integration to https://github.com/karuppiah7890/helm-schema-gen in the charts build scripts

vincent99 commented 3 years ago

FWIW I think adding the schema is fine, and good for validation, but don't think it's a good basis for generating UI from. https://github.com/rancher/dashboard/issues/2158#issuecomment-754506415