Bug 1880246

Summary: Merge of helm charts with same name from multiple repos is random as to which will be in catalog
Product: OpenShift Container Platform Reporter: morstad
Component: Dev ConsoleAssignee: Rohit Rai <rorai>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.6CC: aos-bugs, divgupta, nmukherj, pknezevi, rorai
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1883595 (view as bug list) Environment:
Version: 4.6.0-0.nightly-2020-09-16-114952 Cluster ID: e58e1df1-174b-487f-b427-30ca2eab3eee Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36
Last Closed: 2020-10-27 16:42:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1883595    

Description morstad 2020-09-18 04:53:41 UTC
Description of problem:
For each helm repo defined the index.yaml content is merged into single index for all charts.   If repo A and repo B have same chart with different versions, the last repo index read will overwrite first for duplicated chart. 

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


How reproducible:


Steps to Reproduce:
1. Add helmchartrepository CR for https://redhat-developer.github.io/redhat-helm-charts (if not present in cluster) to add 6 charts : CPQ, Object Storage, OMS ent, OMS pro, operator catalog, nodejs)
2. Add helmchartrepository CR for https://raw.githubusercontent.com/IBM/charts/master/repo/ibm-helm to add 8 charts :  CPQ, Object Storage, OMS ent, OMS pro, RTAS, UCD, UCD A, UCD R) 
3. Navigate to helm catalog

Actual results:

Helm catalog shows 10 charts

Expected results:

Helm catalog to contain 14 charts - 6 from redhat charts and 8 from ibm chart.  No way to tell where charts displayed came from (which repo)..


Additional info:

Comment 3 divgupta 2020-10-01 11:55:51 UTC
Verified on - 4.6.0-0.nightly-2020-10-01-024558

Comment 6 errata-xmlrpc 2020-10-27 16:42:20 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 (OpenShift Container Platform 4.6 GA Images), 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:4196