komodorio / helm-dashboard

The missing UI for Helm - visualize your releases
Apache License 2.0
4.99k stars 302 forks source link

Support for questions.yaml ? #464

Open michelpromonet opened 1 year ago

michelpromonet commented 1 year ago

Hi,

I was wondering if it is possible to use questions.yaml like in rancher ui https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/helm-charts-in-rancher/create-apps#additional-files-for-rancher-charts, or have a similar feature ?

Best Regards, Michel.

undera commented 1 year ago

I don't want to say hard "no" to this, here are my thoughts:

To summarize, suggestion like this could have place, if the install/edit dialog would allow for switching between different "modes" of editing properties. Right now there's no place to apply it in the UI. We'd need some design ideas of how to rearrange the dialog with that in mind. This is a good way to contribute to project: just bring UI mocks of possible improvements.

michelpromonet commented 1 year ago

Hi @undera,

Thanks for your answer, I understand your point of view. I was mentionned rancher as a sample of an easy way to configure some of variables of the values.yaml.

Best Regards, Michel.

garethsb commented 1 year ago

Hi @undera,

I'm interested in something which seems related, whether helm-dashboard could take advantage of the optional Helm v3 values.schema.json, when provided by a Helm chart, for two things:

Is this something that is already on the roadmap for helm-dashboard or that you would accept a PR for?

Thanks

undera commented 1 year ago

@garethsb the validation part should happen as-is, because the backend runs dry-run process when previewing diff

For the rich UI building - I'm not big fan of it. IMO it takes a lot of visual space on screen and cumbersome to do right. While it is really needed for new Helm users, which eventually get experienced and fine to use YAML.

That said, it is Open Source, we can look at proposed implementation and discuss it.