Repository navigation
fix(lookup): OCI charts follow imageDigests, not actionDigests - #251
Merged
Merged
Conversation
The digest default by kind gave only container images the imageDigests setting while the needs-digest rule also pins Helm charts from oci:// registries, so a chart's digests answered to actionDigests. A chart in an OCI registry is an image: it now takes imageDigests like every other container image. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
count-patchula | 23ce018 | Commit Preview URL Branch Preview URL |
Nov 11 2026, 07:06 AM |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug 3 from design consult 4.
The digest default in
effective()(crates/lookup/src/lib.rs) gave onlyContainerImagetheimageDigestssetting. Meanwhile the needs-digest rule already pins OCIChartdependencies, so chart digests followedactionDigests. OCI Helm charts (Chart.yamldependencies, KustomizehelmCharts, FluxOCIRepository/HelmRelease) now answer toimageDigestslike every other OCI artifact.actionDigestsstill governs actions, reusable workflows and APM packages.Behaviour change: a repository that sets
actionDigests = falseand leavesimageDigestson now gets digest pins for OCI charts, andimageDigests = falsenow turns them off.Test:
oci_charts_follow_the_image_digest_setting(lookup/tests/policy.rs) turns each setting off separately and checks that the chart follows the image setting while an action follows the action setting.Corpus snapshot: unchanged. The corpus uses the defaults, where both settings are on, so it cannot tell them apart.
Docs:
guide/managers.md(Helm),guide/configuration.md, and thePatchulaConfig.pkldoc comments for both settings. Renovate has a singlepinDigests, so there is no departure to note.