Skip to content

fix(TC-7264): pin nginx cache image by digest - #361

Open
TamarW0 wants to merge 1 commit into
0.0.5from
tc-7264-nginx-digest
Open

TamarW0 wants to merge 1 commit into
0.0.5from
tc-7264-nginx-digest

Conversation

@TamarW0

@TamarW0 TamarW0 commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

TC-7264 — [EI] Version number shown on the UI page is incorrect

QE comment item 2: "Nginx value should follow the same as that of other components (SHA256)."

Problem

The About modal reads each component image from its Deployment and displays the image reference. Engine, webapp, MCP, and MongoDB images are pinned by @sha256:… digest, so the UI shows a digest. The cache image was pinned by tag (ubi10/nginx-126:1791850098), so the UI showed a bare tag for the cache — inconsistent with the other components.

Fix

Pin the cache DefaultImage by digest. The tag 1791850098 resolves to sha256:b750e06334d1a96a3c69834e5234af9f4dfae46b8ae2cf9dff1100373801e5e1 on registry.access.redhat.com/ubi10/nginx-126. The About UI now shows a SHA256 digest for the cache, the same as the other components.

Verification

  • go build ./... — clean
  • go test ./internal/resources/cache/... — pass
  • No other code, manifest, or test referenced the old tag.

Notes

  • Base branch: 0.0.5 (per request). Cherry-pick to main to follow.
  • Renovate manages only the tekton and dockerfile managers, so it does not touch this Go constant; the digest pin is consistent with how engine/webapp are already pinned.

Related: TC-5554, TC-5943

🤖 Generated with Claude Code

The About UI reads each component image from its deployment and shows the
digest. The cache used a tag, so the UI showed a tag for the cache but a
SHA256 digest for the other components.

Pin the cache image by digest (from tag 1791850098). The About UI now
shows a SHA256 digest for the cache, the same as the other components.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
DefaultImage = "registry.access.redhat.com/ubi10/nginx-126:1791850098"
// Pin the image by digest (from tag 1791850098). The About UI then shows
// a SHA256 digest for the cache, the same as the other components.
DefaultImage = "registry.access.redhat.com/ubi10/nginx-126@sha256:b750e06334d1a96a3c69834e5234af9f4dfae46b8ae2cf9dff1100373801e5e1"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I count on you that this is the correct sha

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.

2 participants