Bug 1823854 - Helm : values.yaml order is lost and comments stripped
Summary: Helm : values.yaml order is lost and comments stripped
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.5.0
Assignee: Rohit Rai
QA Contact: Gajanan More
URL:
Whiteboard:
Depends On:
Blocks: 1823855
TreeView+ depends on / blocked
 
Reported: 2020-04-14 15:58 UTC by Rohit Rai
Modified: 2020-07-13 17:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1823855 (view as bug list)
Environment:
Last Closed: 2020-07-13 17:27:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
YAML editor with comments (176.76 KB, image/png)
2020-04-16 08:40 UTC, Gajanan More
no flags Details
YAML editor with comments (165.61 KB, image/png)
2020-04-16 08:40 UTC, Gajanan More
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 5037 0 None closed Bug 1823854: Use ordered-values.yaml in Helm install/upgrade 2020-06-23 10:02:30 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:27:47 UTC

Description Rohit Rai 2020-04-14 15:58:01 UTC
Description of problem: 
The values.yaml content displayed on install is re-ordered with comments stripped. Removal of comments and re-ordering is concerning for following reasons :
1. global and / or common parameters which need to be updated by user aren't displayed at top
2. comments to guide users input are removed (thisincludes license acceptance text and pointer to README.MD externally hosted as not displayed during install flow in 4.4)
3. parameter order doesn't follow install documentation



Version-Release number of selected component (if applicable):


How reproducible: Always

Steps to Reproduce:
1. Go to developer catalog
2. Select a helm chart and click install

Actual results:
Values in the YAML editor are stripped off comments and loose the original order.

Expected results:
Values in the YAML editor should have comments and have original order intact.

Additional info:

Comment 3 Gajanan More 2020-04-16 08:40:19 UTC
Created attachment 1679270 [details]
YAML editor with comments

Comment 4 Gajanan More 2020-04-16 08:40:54 UTC
Created attachment 1679271 [details]
YAML editor with comments

Comment 5 Gajanan More 2020-04-16 08:42:59 UTC
I have validated this bug on 
Build:4.5.0-0.nightly-2020-04-15-223247
Browser:Google Chrome Version 78.0.3904.108
Marking this as done. 
Please have a look at the attachments.

Comment 6 errata-xmlrpc 2020-07-13 17:27:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:2409


Note You need to log in before you can comment on or make changes to this bug.