Skip to content

fix(shield): support digest pinning for allowlist waiter image#2607

Merged
francesco-furlan merged 2 commits intomainfrom
fix/shield-waiter-image-digest-support
Apr 29, 2026
Merged

fix(shield): support digest pinning for allowlist waiter image#2607
francesco-furlan merged 2 commits intomainfrom
fix/shield-waiter-image-digest-support

Conversation

@francesco-furlan
Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

The allowlist waiter image helper hardcoded a : separator between repository and tag, so pinning the waiter image by digest produced an invalid reference like quay.io/sysdig/kubectl:sha256:....

This PR mirrors the existing host / cluster / host_windows tag_separator pattern: when gke_autopilot.allowlist_waiter.image.tag starts with sha256:, the helper emits @ instead of :, producing a valid digest reference (quay.io/sysdig/kubectl@sha256:...). Regular tags continue to render with : and the default values.yaml is unchanged.

Checklist

  • Title of the PR starts with type and scope
  • Chart Version bumped for the respective charts
  • Variables are documented in the README.md (no new variables)
  • Check GithubAction checks (like lint) to avoid merge-check stoppers
  • All test files are added in the tests folder of their respective chart and have a "_test" suffix (no new tests in this PR)

Mirror the host/cluster/host_windows tag_separator pattern so the
allowlist waiter image renders with `@` when the tag is a `sha256:`
digest and `:` for regular tags. Without this, pinning the waiter
image by digest produced an invalid reference like
`registry/repo:sha256:...`.
@francesco-furlan francesco-furlan requested a review from a team as a code owner April 29, 2026 15:09
@francesco-furlan francesco-furlan merged commit 226da1c into main Apr 29, 2026
6 checks passed
@francesco-furlan francesco-furlan deleted the fix/shield-waiter-image-digest-support branch April 29, 2026 15:17
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