-
Notifications
You must be signed in to change notification settings - Fork 100
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
[Bug]: Cache does not match repo #2802
Comments
Did you look at the following? |
Yes, I have tried multiple content configurations and still cannot match the image |
You have duplicate entries in that config. |
I have tested it and found that when on-demand synchronization is enabled, you cannot use prefix to filter repo and destination. |
Destination is not a filter, it is a prefix added to the local zot image copy, a folder in zot storage where the local copy of the image resides. You also need to include this destination as a prefix in the url when you pull from zot. Destination was implemented to differentiate between distinct images having the same name synced from different upstream registries. |
zot version
v2.1.1
Describe the bug
{"level":"info","repository":"global/cilium","reference":"v1.16.3","goroutine":120,"caller":"zotregistry.dev/zot/pkg/api/routes.go:2023","time":"2024-11-21T09:57:57.011823158Z","message":"trying to get updated image by syncing on demand"}
{"level":"info","goroutine":122,"caller":"zotregistry.dev/zot/pkg/extensions/sync/service.go:508","time":"2024-11-21T09:57:57.011907572Z","message":"getting available client"}
{"level":"info","remote":"https://public-repo.hs.com","repository":"global/cilium","reference":"v1.16.3","goroutine":122,"caller":"zotregistry.dev/zot/pkg/extensions/sync/service.go:301","time":"2024-11-21T09:57:57.023594191Z","message":"will not sync image, filtered out by content"}
{"level":"error","error":"image is filtered out by sync config","repository":"global/cilium","reference":"v1.16.3","goroutine":120,"caller":"zotregistry.dev/zot/pkg/api/routes.go:2027","time":"2024-11-21T09:57:57.023763512Z","message":"failed to sync image"}
To reproduce
Expected behavior
No response
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: