-
Notifications
You must be signed in to change notification settings - Fork 62
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
Authorization error #809
Comments
Hey @carlsoane ! Thank you for the issue! If you are able to retrieve the JWT manually, did you also try to access |
Hi @phbelitz:
The response I get back is: My environment file is:
Much appreciated, |
Hmm 🤔 then I guess this isn't a problem with Connaisseur, but your Notary instance. What kind of setup do you have? Is this a Harbor registry, Azure Container Registry or something custom made? |
Hi @phbelitz: |
SORRY. It's been awhile ... from what I see in your script, you did pretty much everything right. Only thing that is curious, is that in the response for the token you got, the token itself is in the The only thing I can imagine here, is that you have different credentials for your registry and your notary, since the script get unauthorized, but the notary-cli works fine ... maybe you have a |
Describe the bug
The connaisseur MutatingWebhook is throwing a 401 error when trying to verify a signed image during pod deployment. See "Optional: To reproduce" for more information.
Expected behavior
The image would be verified and would deploy.
Optional: To reproduce
I get this error message from one of the connaisseur pods when I try to apply a pod containing the image
mycomponent-dss-poc.common.repositories.cloud.mycompany/busybox-test:0.0.2
:I can see that the JWT is successfully retrieved from
https://auth-test.repositories.cloud.mycompany/auth?service=Notary&scope=repository:mycomponent-dss-poc.common.repositories.cloud.mycompany/busybox-test:pull
.I've also verified that a token is returned by executing
curl -v -u MYUSER:MYPASSWORD "https://auth-test.repositories.cloud.mycompany/auth?service=Notary&scope=repository:mycomponent-dss-poc.common.repositories.cloud.mycompany/busybox-test:pull".
I can successfully pull the docker image from the docker registry if I set the notary url to "https://notary-test.repositories.cloud.mycompany"
I've also verified that I am able to lookup the GUN successfully using my notary client:
Here is an excerpt from helm/values.yaml:
Optional: Versions (please complete the following information as relevant):
Thanks
The text was updated successfully, but these errors were encountered: