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

install-dynamic-plugins.py should check disabled overrides before resolving OCI references

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 1.9.0
    • Dynamic Plugins, Plugins
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      When using the catalog index, the install-dynamic-plugins.py script attempts to parse and resolve all OCI references before applying overrides from Helm values/dynamic-plugins config.

      Current behavior:

      • Catalog index is extracted and replaces dynamic-plugins.default.yaml
      • Script iterates through plugins and tries to resolve each OCI reference (auto-detecting plugin path from io.backstage.dynamic-packages annotation)
      • If annotation is missing, script crashes with InstallException: No plugins found in OCI image
      • Overrides from Helm values are never checked

      Expected behavior:
      The script should check if a plugin has disabled: true in the Helm values/dynamic-plugins config before attempting to resolve the OCI reference. This would allow users to disable broken/problematic plugins without the script crashing.

      Steps to reproduce:

      Have a catalog index with an OCI plugin reference missing the io.backstage.dynamic-packages annotation

      Add disabled: true override for that plugin in Helm values

      Deploy - script crashes before applying the override

      Related: RHDHBUGS-2530

              Unassigned Unassigned
              skhileri Subhash Khileri
              RHDH Plugins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: