Skip to content

fix(chart): render a digest-pinned image reference correctly - #40

Merged
trevex merged 2 commits into
mainfrom
chore/chart-image-digest-ref
Sep 12, 2026
Merged

trevex merged 2 commits into
mainfrom
chore/chart-image-digest-ref

Conversation

@trevex

@trevex trevex commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Renovate's docker:pinDigests appends a digest to image.tag. Pinning an empty tag produced "@sha256:...", which the template joined with ":" into ghcr.io/opendefensecloud/krop-controller:@sha256:... — not a valid reference, so a plain helm install of the published chart fails with ErrImagePull.

Join with ":" only when there is a tag to join. All three shapes Renovate can leave behind now render: a tag, a tag with a digest, and a bare digest.

Renovate's docker:pinDigests appends a digest to image.tag. Pinning an
empty tag produced "@sha256:...", which the template joined with ":"
into ghcr.io/opendefensecloud/krop-controller:@sha256:... — not a valid
reference, so a plain `helm install` of the published chart fails with
ErrImagePull.

Join with ":" only when there is a tag to join. All three shapes
Renovate can leave behind now render: a tag, a tag with a digest, and a
bare digest.

Signed-off-by: Niklas Voss <niklas.voss@gmail.com>
@trevex
trevex merged commit a242688 into main Sep 12, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant