-
Notifications
You must be signed in to change notification settings - Fork 16
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
Pushing to an artifactory OCI registry results in 406 Not Acceptable #59
Comments
Thank you @lsoica for the report. It's very possible that the problematic logic happens inside this crate when pushing, but I didn't confirm it yet. |
@ereslibre I have an instance of artifactory running in their free tier, I can reproduce the issue.
|
Thanks for confirming, I will look into this. |
I'm going to ping this issue with the path forward in order to fix the problem. |
https://github.com/kubewarden/krustlet/compare/oci-distribution-fix-push-to-ghcr...kubewarden:oci-distribution-fix-push-to-jfrog passes through the 406 problem, but then the |
Related:
|
I have opened krustlet/krustlet#670 fixing the relevant issues on the However, JFrog is not following the spec as expected as described in krustlet/krustlet#670 (comment). I'm reporting that to the JFrog team and reporting back here. |
Despite I contacted JFrog one month ago regarding this issue I had no response from them. If krustlet/krustlet#670 gets merged, I would call this issue done from our side. |
Closing. We are going to specify a list of OCI registries we have tried and succeeded. |
Although Artifactory is OCI compliant, https://www.jfrog.com/confluence/display/JFROG/Docker+Registry, following the official docs for distributing policies (https://docs.kubewarden.io/distributing-policies.html) results in:
How can I troubleshoot further?
LE: Using the same registry with ORAS, works as expected https://github.com/oras-project/oras
Then, applying the policy works as expected.
The text was updated successfully, but these errors were encountered: