Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-3660

Add consistent labels for better application grouping and icons in OpenShift Topology View

Prepare for Y ReleasePrepare for Z ReleaseRemove QuarterXMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • RHIDP-4212 - Feature parity between Helm Chart and Operator

      Story

      As a user of the Operator on OpenShift, I want, in the Topology View, to be able to distinguish the resources created and managed by the Operator from the rest of my other resources, So that I can have a clear separation between different apps in the same namespace.

      While doing a quick test of the RHDH image on OpenShift, I noticed that resources from the Helm Chart are currently grouped and have proper icons displayed for PostgreSQL and Backstage. But resources managed by the Operator are using a generic icon and are floating, making it look like they are completely unrelated.

      Openshift does group the resources when creating a Backstage instance from the list of installed operators, which was my main concern here. It also displays the RHDH icon on both the Backstage and Postgresql pods, which is fine right now.

      we would still need to use the right icon for Postgresql and set the right annotation to connect both pods.

      Background

      See https://github.com/janus-idp/operator/issues/66 

      Dependencies and Blockers

      QE impacted work

      Documentation impacted work

      Acceptance Criteria

      • upstream documentation updates (design docs, release notes etc)
      • Technical enablement / Demo
      • It should group the resources created by the Operator. From this OpenShift doc, it seems that we should add the app.kubernetes.io/part-of label. Value could be the CR name.
      • It should add the correct labels to have the icons show up. From this OpenShift doc, it seems that it looks for the app.openshift.io/runtime label, followed by app.kubernetes.io/name label against a predefined set of icons: openshift/console@master/frontend/public/components/catalog/catalog-item-icon.tsx
      •  It should connect the Backstage and PostgreSQL nodes, using the app.openshift.io/connects-to annotation

      Notes

       

              Unassigned Unassigned
              rh-ee-asoro Armel Soro
              RHIDP - Install
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: