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

Simplify the OCI reference when there is only 1 plugin in the OCI image

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Critical Critical
    • 1.9.0
    • None
    • Dynamic plugins
    • None
    • Simplify the OCI reference when there is only 1 plugin in the OCI image
    • M
    • False
    • Hide

      None

      Show
      None
    • False
    • RHDHPLAN-252Update dynamic plugin references to use OCI artifacts and tagless catalog references
    • In Progress
    • RHDHPLAN-252 - Update dynamic plugin references to use OCI artifacts and tagless catalog references
    • QE Needed, Docs Needed, TE Needed, Customer Facing, PX Needed
    • 50% To Do, 50% In Progress, 0% Done

      When the OCI image contains a single plugin, which is the most general case, adding the single plugin folder name as a suffix to the OCI reference (after an exclamation mark), like this:

      oci://my-quay/my-org/my-repo:tagOrSHA!some-plugin-folder-name

      isn't really useful, and generally introduces some duplication since the repo name generally contains a string very similar to the folder name.

      When there is only 1 plugin in the OCI image (which can be confirmed in the OCI image index metadata and index.json file), omitting the plugin folder name suffix should be allowed, and this should select the single plugin by default.

              rh-ee-frkong Frank Kong
              dfestal David Festal
              RHIDP - Cope
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: