Repository navigation
Labels
effort/mediumEffort Mediumpriority/p1-highPriority P1: high-impact work for the next planned milestonescope/k8sKubernetes commands, Helm charts, pods, services, and policiestype/featureType feature: a new functionvalue/highValue High: the delivery of the item matters much
Description
Friction
k8s/README.md (GitOps, "When a pull request merges into main", step 4) asks a person to check that the devops Application's spec.source.kustomize.images names the digest that ghcr.io/dan-petty/devops-cli/service:latest points at. No command does this check. From 2026-10-10 to 2026-10-23 the Application stayed on an old digest, and no condition, metric or alert reported it. ImageUpdater devops stayed Ready with imagesManaged: 0.
Evidence
- fix(argocd): every application pins automated sync enabled in git, so the devops application syncs again and a ui pause is reverted #1626 (amendment of 2026-10-18, step 4) names this check. The pull request for fix(argocd): every application pins automated sync enabled in git, so the devops application syncs again and a ui pause is reverted #1626 sets
forceUpdate: true, which removes the cause, but it adds no detection. - Live, read-only, on 2026-10-23: ImageUpdater
devopsshowedlastUpdatedAt2026-10-10 andimagesManaged: 0. Applicationdevopshad nospec.source.kustomize.images. - Prometheus scrapes no
argocd_image_updater_*series.
Proposed remedy
- Test first:
devops argo cd apps status devopsreports an error when the Application's digest differs from the anonymous GHCR digest ofservice:latest. A test doubles the registry and the Kubernetes API through the shared fakes. - Read the digest with an open tool or library, for example
crane digestor the OCI distribution API through the project's HTTP client. Do not write a registry client. k8s/README.mdstep 4 names the command.
Proposed design
Problem statement
A command is needed to check that Argo CD Application 'devops' uses the correct image digest from GHCR for service:latest. The current process requires manual checking and has caused delays in detecting outdated digests.
Acceptance criteria
- Criterion 1: The command reports an error when the Application's digest differs from the anonymous GHCR digest of service:latest
Verification: Run 'devops argo cd apps status devops' and observe error message when digests do not match - Criterion 2: The command fetches image digest from GHCR without writing a registry client
Verification: Use existing tool like 'crane digest' or project's HTTP client to read digest - Criterion 3: The command is documented in k8s/README.md step 4
Verification: Check that k8s/README.md step 4 names the new command
Key questions
- What tool or library should be used to read the digest from GHCR?: Use an open tool or library such as 'crane digest' or the OCI distribution API through the project's HTTP client. Do not write a registry client. [sources: src/devops_cli/commands/k8s/stack_lifecycle.py]
- Should this command be part of the existing Argo CD status command?: Yes, add the check to 'devops argo cd apps status devops' command. (proposed) [sources: k8s/README.md]
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Metadata
Metadata
Assignees
Labels
effort/mediumEffort Mediumpriority/p1-highPriority P1: high-impact work for the next planned milestonescope/k8sKubernetes commands, Helm charts, pods, services, and policiestype/featureType feature: a new functionvalue/highValue High: the delivery of the item matters much
Type
Projects
- StatusShow more project fieldsReady
- StatusShow more project fieldsReady
Activity
fix(argocd): every application pins automated sync enabled in git, so…
dan-petty commentedon Oct 24, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.
The issue shows a real incident where an old digest stayed for days without detection.The check prevents incorrect deployments and improves system reliability.The command needs to fetch digests from registry and compare them with Argo CD Application spec.Both items check image pins in manifests. The candidate checks Argo CD Application digests. Item 1994 checks that image pins exist in k8s/ before merge.dan-petty commentedon Oct 26, 2026
Status set to Ready at aece067 (see proposed design in issue body).
feat(argo): apps status checks each pinned image against its registry (…
chore(main): release 0.14.0 (#2609)