dadav / helm-schema

Generate jsonschemas from helm charts.
MIT License
72 stars 9 forks source link

RFE: Allow to extend properties in leaf nodes #78

Open rgordill opened 6 days ago

rgordill commented 6 days ago

Hi.

I used the values.schema.json for a tool that creates a form to fill the values. It expects something like:

        "properties": {
            "size": {
                "type": "string",
                "title": "Volume Size",
                "form": true,
                "render": "slider",
                "sliderMin": 1,
                "sliderMax": 2048,
                "sliderUnit": "Gi"
            }

But the properties annotation will create a nested properties in the size property, not the extra "form", "render", etc. It would be extreme useful for this use case to provide a way to define them through annotations.

rgordill commented 6 days ago

It seems similar to the CustomAnnotations, but not just for "x-" ones.