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
ArgoCD complains about revision being unsigned when using a tag #7377
Comments
hi @jjohnson-ah, Thank you for report an issue. I just checked it and it is working fine in case if the tag is signed. The problem appears if the tag is not signed. |
We seem to be hitting the same issue even with a signed git tag! |
I believe I am getting this on a branch :)
At the moment the signing commit (rather than tag) only works for me for HEAD |
I just reproduced the issue with a signed tag, however, I couldn't reproduce with a branch. Gonna dig into this issue. |
Just as a heads-up that I finally came around to dig into this issue, and have a fix for it with #12797 |
Checklist:
argocd version
.Describe the bug
If I run
kubectl apply
using a signed commit and atargetRevision
of, e.g. main, it deploys fine. But when I use atargetRevision
pointing to a tag (signed or unsigned), I get a 'Target revision in Git is not signed' error. My repo is https://github.com/jjohnson-ah/jjohnson-argocd-tags.To Reproduce
Generate a GPG key and verify with GitHub. Add the GPG key to ArgoCD and your project in ArgoCD. Create a repo and sign the commit. Deploy and you'll see the deployment is fine. Now create a tag (signed or unsigned) and change
targetRevision
to the tag. The deployment fails.Expected behavior
I expect ArgoCD to be satisfied with the signed tag.
Screenshots
Here is the output of pointing to branch main (signed).
Here is the output of pointing to tag ah-tst (signed).
Version
The text was updated successfully, but these errors were encountered: