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

showcase-rbac e2e deployment uses custom initContainer that bypasses catalog index testing

XMLWordPrintable

    • RHDH Plugins 3287

      The values_showcase-rbac.yaml has a custom initContainers configuration that overwrites the Helm chart's default. This was done to create RBAC conditional policies, but as a side effect it doesn't set CATALOG_INDEX_IMAGE, which means the catalog index is never used in showcase-rbac tests.

      Current state:

      • showcase deployment - uses Helm chart default initContainer (no override)
      • showcase-rbac deployment - overrides initContainer entirely

      Problems:

      • Bugs in the catalog index flow only surface in showcase, not in showcase-rbac
      • showcase-rbac tests a different code path than what production users would experience
      • If Helm chart's default initContainer changes, showcase-rbac won't pick up those changes

      Recommendation:
      showcase-rbac should not override the initContainer, to be consistent with showcase. The RBAC conditional policies setup should be handled through a different mechanism (e.g., ConfigMap, additional initContainer) instead of overwriting the install-dynamic-plugins initContainer.

      Related: RHDHBUGS-2530, RHDHBUGS-2533

              rh-ee-pknight Patrick Knight
              skhileri Subhash Khileri
              RHDH Plugins
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: