Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-3273

Add --pull-secret support and plugin detail resolution to rhdh-chart-versions.sh

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • orchestrator-qe
    • False
    • Hide

      None

      Show
      None
    • False

      Summary

      Enhance rhdh-chart-versions.sh to resolve detailed version/tag information for each pinned plugin by inspecting OCI images via skopeo.

      Changes

      • Add --pull-secret <FILE> option to provide registry authentication (.dockerconfigjson format)
      • Add skopeo_auth_args() helper to pass --authfile to all skopeo inspect and skopeo copy calls
      • Add resolve_plugin_details() function that enriches each pinned plugin with:
        • version — from OCI image label
        • build_date — from OCI image label
        • vcs_ref — source commit from OCI image label
        • matching_tags — all tags pointing to the same digest (via Quay API or skopeo list-tags)
      • Integrate plugin detail resolution into resolve_catalog_index() output

      Motivation

      When inspecting RHDH helm chart versions, we currently resolve the catalog index and list pinned plugins, but we only have the digest/package URL. With this change, when a pull secret is provided, the script can also report what version, build date, and commit each plugin was built from, plus any tags pointing to the same image. This gives full traceability from chart version → catalog index → individual plugin builds.

      Files

      • scripts/rhdh-chart-versions.sh

              chadcrum Chad Crum
              chadcrum Chad Crum
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: