Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v14] Fixes a bug in the kube-agent-updater breaking private image resolution #44193

Merged
merged 4 commits into from
Jul 15, 2024

Conversation

hugoShaka
Copy link
Contributor

@hugoShaka hugoShaka commented Jul 13, 2024

Backport #44112 to branch/v14

changelog: Fixed a kube-agent-updater bug affecting resolutions of private images.

Cosign was receiving the registry options contianing the auth keychain,
but its image resolution step was not. This caused the image resolution
to fail. This went undetected because we tested on already digested
images, so the resolution never happened.

This commit fixes the issue, introduces new tests covering both
authenticated registries and image resoluition.

This commit also improves the error logging. When logging trust errors,
we nmow log the original error to provide more context. This also adds
more debug logging.
@hugoShaka hugoShaka added this pull request to the merge queue Jul 15, 2024
Merged via the queue into branch/v14 with commit 2fd3067 Jul 15, 2024
26 checks passed
@hugoShaka hugoShaka deleted the bot/backport-44112-branch/v14 branch July 15, 2024 14:20
@camscale camscale mentioned this pull request Aug 9, 2024
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.

3 participants