You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using kyverno-policy which verifies for cosign signatures.
I'm signing images with cosign via github actions workflow and pushing them to docker. Now when running these images, I'm leveraging harbor proxy cache in order to pull from instead of docker.
I will list down scenerios I observed while using harbor-proxy:
I have 5 digests with same tag out of 4 are signed and 1 is unsigned and also the recent digest.
mutateDigest: true # Changed to true to handle digest updates
verifyDigest: true
Unable to pull latest digest, Instead it's pulling the old image which got created when the tag is created
mutateDigest: false
verifyDigest: true
Error from server: error when creating "dep.yaml": admission webhook "validate.kyverno.svc-fail" denied the request:
resource Deployment/thrinadh/thrinadh-app was blocked due to the following policies
check-image-keyless-thrinadh:
check-image-keyless-thrinadh: missing digest for hub.dev-rudder.rudderlabs.com/dockerhub-proxy/thrinadh8898/sigstore-keyless-max-testing:pr-8
I didn't understand why it's complaining for missing digest instead it should say missing signature or no signature found.
Also I've pushed another image which is signed and even it's complaining missing digest which doesn't make sense
mutateDigest: true # Changed to true to handle digest updates
verifyDigest: false
Unable to pull latest digest, Instead it's pulling the old image which got created when the tag is created
mutateDigest: false # Changed to true to handle digest updates
verifyDigest: false
Pulls latest digest which doens't have signature
The above cases are only happening with harbor and not with docker.
I've disabled imageverifycache disabled on kyverno controller
Kyverno Version
1.13
Kubernetes Version
1.29
Kubernetes Platform
EKS
Description
I'm using kyverno-policy which verifies for cosign signatures.
I'm signing images with cosign via github actions workflow and pushing them to docker. Now when running these images, I'm leveraging harbor proxy cache in order to pull from instead of docker.
I will list down scenerios I observed while using harbor-proxy:
I have 5 digests with same tag out of 4 are signed and 1 is unsigned and also the recent digest.
The above cases are only happening with harbor and not with docker.
I've disabled imageverifycache disabled on kyverno controller
Steps to reproduce
Expected behavior
When using harbor, kyverno should fetch always fetch the latest image which has signature.
Screenshots
No response
Kyverno logs
Slack discussion
No response
Troubleshooting
The text was updated successfully, but these errors were encountered: