-
Task
-
Resolution: Done
-
Undefined
-
None
-
None
-
False
-
-
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