Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-32059

Helm Plugin's Catalog incorrectly renders a single index entry into multiple tiles

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • 4.16.0
    • 4.14.z, 4.15.z
    • Dev Console
    • None
    • No
    • ODC Sprint 3255
    • 1
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      * Previously, the Helm Plugin index view did not display the same number of charts as the Helm CLI if the chart names varied. With this release, the Helm catalog now looks for `charts.openshift.io/name` and `charts.openshift.io/provider` so that all versions are grouped together in a single catalog title. (link:https://issues.redhat.com/browse/OCPBUGS-32059[*OCPBUGS-32059*])
      ______________
      Chart name in the chart yaml got changed for couple of helm charts, because of this two tiles are created in helm catalog page for the single helm chart. Modified the helm catalog page to handle this issue by using additional condition to look for `charts.openshift.io/name` and `charts.openshift.io/provider` along with the chart name to group the versions inside a single index.
      Show
      * Previously, the Helm Plugin index view did not display the same number of charts as the Helm CLI if the chart names varied. With this release, the Helm catalog now looks for `charts.openshift.io/name` and `charts.openshift.io/provider` so that all versions are grouped together in a single catalog title. (link: https://issues.redhat.com/browse/OCPBUGS-32059 [* OCPBUGS-32059 *]) ______________ Chart name in the chart yaml got changed for couple of helm charts, because of this two tiles are created in helm catalog page for the single helm chart. Modified the helm catalog page to handle this issue by using additional condition to look for `charts.openshift.io/name` and `charts.openshift.io/provider` along with the chart name to group the versions inside a single index.

      Description of problem:

      The Helm Plugin's index view is parsing a given chart entry's into multiple tiles if the individual entry names vary.
      
      This is inconsistent with the Helm CLI experience, which treats all items in an index entry (i.e. all versions of a given chart) to be a part of the same chart.

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

      All

      How reproducible:

      100%

      Steps to Reproduce:

          1. Open the Developer Console, Helm Plugin
          2. Select a namespace and Click to create a helm release
          3. Search for the developer-hub chart in the catalog (this is an example demonstrating the problem)
          

      Actual results:

      There are two tiles for Developer Hub, but only one index entry in the corresponding index (https://charts.openshift.io)

      Expected results:

      A single tile should exist for this single index entry.

      Additional info:

      The cause of this is an expected indexing inconsistency, but the experience should align with the Helm CLI's behavior, and should still represent a single catalog tile per index entry.

              rh-ee-lprabhu Lokananda Prabhu
              jogonza Jose Gonzalez
              Sanket Pathak Sanket Pathak
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: