Repository navigation
Description
Problem
devops k8s image-pins stops when an Argo CD Application names a chart in an OCI registry, which Argo CD writes as a repoURL with no scheme. _chart_command in src/devops_cli/k8s/image_pins.py raises ImagePinError: "Application names an OCI chart repository, which the check does not render". The check was written when no Application used such a repository.
Some projects publish their charts only in an OCI registry. Actions Runner Controller of GitHub is one: its charts gha-runner-scale-set-controller and gha-runner-scale-set are only at ghcr.io/actions/actions-runner-controller-charts. An environment repository that installs such a chart cannot pass make k8s-pins, which its CI runs. dan-petty/homelab#420 (self-hosted runners for the private repositories) waits for this change.
Evidence
- In a worktree of dan-petty/homelab at
0e79f0d,make -s k8s-pinsexits 0 (52 images). With one more Application (repoURL: ghcr.io/actions/actions-runner-controller-charts,chart: gha-runner-scale-set-controller,targetRevision: 0.15.1), it exits 2 with the message above. devops-cliv0.221.15andmainat3e1bf8540have the same code. helm template <release> oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller --version 0.15.1 --namespace <namespace> --skip-tests --values <file>renders the chart (Helm 4.3.2, exit 0).helm template <release> <chart> --repo oci://ghcr.io/actions/actions-runner-controller-charts --version 0.15.1fails: "is not a valid chart repository or cannot be reached". So an OCI chart needs the chart referenceoci://<repoURL>/<chart>and no--repo.tests/k8s/test_image_pins.py::test_an_oci_chart_repository_stops_the_checkasserts the refusal.- The https repository
https://actions-runner-controller.github.io/actions-runner-controllerholds only the old chartactions-runner-controller(0.23.7, 2023).
Acceptance criteria
- For a chart source whose
repoURLhas no scheme,image-pinsrendersoci://<repoURL>/<chart>attargetRevision, with the release name, the namespace,--skip-testsand the value files of an https chart source, and it resolves each image of the render. - A render that fails names the Helm error, as for an https repository.
- A dry run makes no request for an OCI chart and prints the command.
- The test of the refusal becomes a test of the render command of an OCI chart.
- The text that describes the check names the two repository forms.
- Each other command that reads the chart sources of the Applications (
chart_sourcesinsrc/devops_cli/k8s/app_sources.pyand its callers) is checked for the same limit.
Activity
dan-petty commentedon Nov 27, 2026
It blocks dan-petty/homelab#420 and causes CI failure for any environment that installs an OCI chart.Both work on devops k8s image-pins and its OCI refusal, but #6067 pins digests and keeps the refusal while the candidate removes it.devops-cli-service commentedon Nov 27, 2026
Released in v0.224.0: https://github.com/dan-petty/devops-cli/releases/tag/v0.224.0
devops-cli-service commentedon Nov 27, 2026
Live since 2026-11-27 03:24 UTC