When a chart has only one extra custom values.yaml, it is implicitly used without telling users #6779
Labels
component/ui
Issue related to kubeapps UI
kind/bug
An issue that reports a defect in an existing feature
Milestone
Describe the bug
Feature #5692 implemented support for multiple custom values.
The feature made some assumptions on how the custom values should be presented and selected, which has some logic flaws:
The flaw is on case (2). In such case, the UI is presented as if the values is the default one, i.e. the UI looks exactly like (1), but with a customized values.
I think case (2) should behave like case (3).
To Reproduce
Publish any chart with only two values.yaml. For example:
Using kubeapps UI, try to deploy the chart, going to the YAML editor screen
Notice that the kubeapps UI is presenting a set of values from values-demo.yaml, without any visual hints from the UI
Also notice that there is no way to view or use the default values.yaml
Expected behavior
When a chart has only default values.yaml plus one custom values.yaml, "Default values to use" drop down should be presented.
Desktop (please complete the following information):
Screenshots
Case (1) - only default values.yaml
Case (2) - 2 values.yaml - notice how confusing it is
Case (3) - 3 values.yaml
The text was updated successfully, but these errors were encountered: