Bug 1965526 - Helm Library charts are showing and can be installed from Catalog
Summary: Helm Library charts are showing and can be installed from Catalog
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.7
Hardware: All
OS: All
medium
low
Target Milestone: ---
: 4.7.z
Assignee: David Peraza
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On: 1964997
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-27 21:37 UTC by OpenShift BugZilla Robot
Modified: 2021-07-19 14:18 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-29 04:19:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Helm chart cannot be installed for non git source repo (102.16 KB, image/png)
2021-06-20 18:28 UTC, spathak@redhat.com
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 9076 0 None open [release-4.7] Bug 1965526: Removing library charts from the merged helm repo index entries. 2021-06-11 16:53:11 UTC
Red Hat Product Errata RHBA-2021:2502 0 None None None 2021-06-29 04:20:01 UTC

Description OpenShift BugZilla Robot 2021-05-27 21:37:18 UTC
+++ This bug was initially created as a clone of Bug #1964997 +++

Description of problem:

Helm has two types of charts, one is application and the other is library charts. Library charts are not meant to be installed directly but rather are to be used as dependencies under the chart directory. Currently in OCP 4.7 and 4.8 I can install library charts and a release is created without any errors in the console. The expected behavior is to not be able to see the Library chart or at least get an error when trying to instal. This is consistent with the helm cli interface.

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

OCP 4.7.12 and 4.8.0-0.nightly-2021-05-26-021757

How reproducible:

Every Time

Steps to Reproduce:
1. Add a repo that has library charts for example: http://docs.wildfly.org/wildfly-charts/
2. From dev console select helm under catalog
3. Select the repo just added
4. Click install

Actual results:

Library chart install creates a release.

Expected results:

Install should trigger an error like in helm cli. Preferably should not even show the library chart in the catalog. 


Additional info:

This bug was first reported under https://bugzilla.redhat.com/show_bug.cgi?id=1933101. But need to add here to separate the two issues described in Bug 1933101

Comment 4 spathak@redhat.com 2021-06-20 18:28:22 UTC
Created attachment 1792538 [details]
Helm chart cannot be installed for non git source repo

Comment 5 spathak@redhat.com 2021-06-20 18:29:54 UTC
Verified on build version: 4.7.0-0.nightly-2021-06-17-224843
Browser: Google Chrome 89

Comment 8 errata-xmlrpc 2021-06-29 04:19:46 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.7.18 bug fix update), 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-2021:2502

Comment 10 David Peraza 2021-07-06 18:42:59 UTC
I tried to in initiate automatic process, see last comment here: https://github.com/openshift/console/pull/9076. But there is a conflict. Will have to make the change manually.


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