Bug 1880246 - Merge of helm charts with same name from multiple repos is random as to which will be in catalog
Summary: Merge of helm charts with same name from multiple repos is random as to which...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 4.6.0
Assignee: Rohit Rai
QA Contact: Gajanan More
URL:
Whiteboard:
Depends On:
Blocks: 1883595
TreeView+ depends on / blocked
 
Reported: 2020-09-18 04:53 UTC by morstad
Modified: 2020-10-27 16:42 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
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
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 6753 0 None closed Bug 1880246:Entry keys in aggregated Helm index are appended with the name of source Helm repo 2020-10-12 11:36:31 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:42:33 UTC

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


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