-
Notifications
You must be signed in to change notification settings - Fork 23
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
Not able to verify container image in my k8s cluster #16
Comments
Can you make sure the root cert exists? if co.RootCerts == nil && co.SigVerifier == nil {
return nil, false, errors.New("one of verifier or root certs is required")
} |
@ritazh Thanks for reply. You are right, key/cert information seems missing.. Thats what i mentioned in my query. |
I am getting the same error when I was trying this out. I checked the logs for the provider and I see errors related to fetching TUF repo data from the first attempt to install the policy/example/valid.yaml manifest. Subsequent attempts give the error related to verifier certs shown above in the original comment.
|
Any plans to add an opportunity to pass they key to the deployment? |
Just heads up that the errors With that said, I'm still We are making progress let's say, but it's not yet solving the issue. Don't know if someone can help in clarifying which scenario is covered/supported with this repo. What's explained in there https://github.com/sigstore/cosign-gatekeeper-provider#verification was (and is still) not working. |
Hi Team
I would like to verify my container images before deploying to pod in my k8s cluster.
I am trying to achieve this with cosign-gatekeeper-provider i.e https://github.com/sigstore/cosign-gatekeeper-provider
I have signed the image using cosign but I am not able to verify images when I try to deploy pod using manifest in my cluster.
I am getting following error:-
error when creating “policy/examples/valid.yaml”: admission webhook “validation.gatekeeper.sh” denied the request: [cosign-gatekeeper-provider] invalid response: {“errors”: [], “responses”: [], “status_code”: 200, “system_error”: “VerifyImageSignatures: one of verifier or root certs is required”}
I am able to verify container images using commands on my local command line i.e cosign verify .(But not inside k8s cluster). Looks like keys/cert information are not propagated to cluster
Anything else you would like to add:
I am not sure whether I should put this issue here or on cosign.
Environment:
Gatekeeper version:3.8.1
The text was updated successfully, but these errors were encountered: