Skip to content

Digest pinning support for Trivy image.#2370

Open
Vinnie161 wants to merge 1 commit into
goharbor:mainfrom
lidofinance:feature/digest-pinning-support-for-trivy
Open

Digest pinning support for Trivy image.#2370
Vinnie161 wants to merge 1 commit into
goharbor:mainfrom
lidofinance:feature/digest-pinning-support-for-trivy

Conversation

@Vinnie161

@Vinnie161 Vinnie161 commented May 12, 2026

Copy link
Copy Markdown

Summary

This change adds optional digest support for the Harbor Trivy adapter image.

Currently the Trivy StatefulSet always renders the image as:

  <repository>:<tag>

This makes it impossible to use digest-based image references such as:

  goharbor/trivy-adapter-photon@sha256:<digest>

The new trivy.image.digest value is optional and backward compatible:

  • when trivy.image.digest is empty, the chart keeps rendering <repository>:<tag>
  • when trivy.image.digest is set, the chart renders <repository>@<digest>

This allows users to pin the Trivy adapter image by immutable digest while preserving the existing tag-based behavior by default.

Signed-off-by: Vitaliy P <vpr@lido.fi>
@Vinnie161 Vinnie161 force-pushed the feature/digest-pinning-support-for-trivy branch from 539079b to f2ce44f Compare May 12, 2026 13:44
@MinerYang

MinerYang commented May 18, 2026

Copy link
Copy Markdown
Collaborator

Let's discuss more in this thread
#2372 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants