Uploaded image for project: 'Red Hat Developer Hub Bugs'
  1. Red Hat Developer Hub Bugs
  2. RHDHBUGS-1989

argocd frontend plugin doesn't function when argo application has multiple sources

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • ArgoCD Plugin
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Critical

      Description of problem:

      janus-idp-backstage-plugin-argocd frontend plugin doesn't function when argo application has multiple sources 

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

      RHDH Operator version: 1.2.2

      How reproducible:

      Create an Argo Application with multiple sources and appropriate label annotation that matches the app-selector key value in catalog info for components. Once navigated to the CI tab, an error will appear: ErrorTypeErrorMessageCannot read properties of undefined (reading 'slice')

       

      Steps to Reproduce:

      1.Enable the janus-idp argocd frontend plugin in dynamic plugins
      2.Create an Argo application with multiple sources
      3.Add the label app-selector key-value to the application
      4.Add same key-value labels to catalog-info.yaml
      5.Register the component with developer hub

       

      Actual results:

      ErrorTypeErrorMessageCannot read properties of undefined (reading 'replace')

      Expected results:

      Expected to the deployment summary

      Additional info:

       

              Unassigned Unassigned
              rhn-gps-vpogu Vikas Pogu
              RHIDP - Plugins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: