-
Notifications
You must be signed in to change notification settings - Fork 547
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
Add digest resolution to cosigned
.
#800
Conversation
cosigned
.cosigned
.
Marking this as WIP because of the remaining e2e TODO (w/ DO NOT SUBMIT), but I wanted to let the automation do a pass over things while I play with that 😁 |
5a62482
to
fb3011e
Compare
cosigned
.cosigned
.
Okay, this should be RFAL. I've updated the e2e test to check the digest resolution using a dry run on the resources. |
@dlorenc this is RFAL 😁 |
cosigned
.cosigned
.
Scratch that, the logs don't look right 🤔 |
This change introduces a mutating webhook to complement our validating webhook. The validating webhook in sigstore#799 began rejecting tag reference because tags are mutable and can drift between validation and resolution by the kubelet. This change introduces a mutating webhook that resolves tags to digests as resources are created, so that users aren't necessarily forced to provide digests, but we get the benefits of them nonetheless. Fixes: sigstore#784 Signed-off-by: Matt Moore <mattomata@gmail.com>
fb3011e
to
c564e0a
Compare
Ok, I fixed the script so it fails properly, and found the bug 🤦 Turns out it doesn't matter if you resolve tags to digests if the digest still isn't signed! I'm optimistic this will pass now 🤞 |
💥 https://github.com/sigstore/cosign/pull/800/checks?check_run_id=3709807519#step:13:80 Alright, this is good to go 🎉 |
cosigned
.cosigned
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
This change introduces a mutating webhook to complement our validating webhook. The validating webhook in sigstore#799 began rejecting tag reference because tags are mutable and can drift between validation and resolution by the kubelet. This change introduces a mutating webhook that resolves tags to digests as resources are created, so that users aren't necessarily forced to provide digests, but we get the benefits of them nonetheless. Fixes: sigstore#784 Signed-off-by: Matt Moore <mattomata@gmail.com> Signed-off-by: Joel Kamp <joel.kamp@invitae.com>
This change introduces a mutating webhook to complement our validating webhook. The validating webhook in sigstore#799 began rejecting tag reference because tags are mutable and can drift between validation and resolution by the kubelet. This change introduces a mutating webhook that resolves tags to digests as resources are created, so that users aren't necessarily forced to provide digests, but we get the benefits of them nonetheless. Fixes: sigstore#784 Signed-off-by: Matt Moore <mattomata@gmail.com> Signed-off-by: Joel Kamp <joel.kamp@invitae.com>
This change introduces a mutating webhook to complement our validating webhook.
The validating webhook in #799 began rejecting tag reference because tags are mutable and can drift between validation and resolution by the kubelet. This change introduces a mutating webhook that resolves tags to digests as resources are created, so that users aren't necessarily forced to provide digests, but we get the benefits of them nonetheless.
Signed-off-by: Matt Moore mattomata@gmail.com
Ticket Link
Fixes: #784
Release Note