version-checker icon indicating copy to clipboard operation
version-checker copied to clipboard

Error on OCI style repositories

Open jwitko opened this issue 1 year ago • 3 comments

Seeing the following error when version-checker attempts to check the fluent-bit repository:

time="2023-10-16T21:36:44Z" level=error msg="cr.fluentbit.io/v2/fluent/fluent-bit/manifests/2.0: failed to get manifest response for tag, skipping (404): {\"errors\":[{\"code\":\"MANIFEST_UNKNOWN\",\"message\":\"OCI index found, but accept header does not support OCI indexes\"}]}\n" client=

time="2023-10-16T21:40:19Z" level=error msg="cr.fluentbit.io/v2/fluent/fluent-bit/manifests/sha256-9b386368a776f8f8a25ee7113ef8f39ae9004d3b6e8a80d0848bd9e37a9c6aae.sig: failed to get manifest response for tag, skipping (404): {\"errors\":[{\"code\":\"MANIFEST_UNKNOWN\",\"message\":\"OCI manifest found, but accept header does not support OCI manifests\"}]}\n" client=

Image of the container is cr.fluentbit.io/fluent/fluent-bit:2.1.9

jwitko avatar Oct 16 '23 21:10 jwitko

Thanks for raising this issue. I suspect there's little support for OCI registries right now.

Would you happen to have a full Yaml manifest I can deploy to reproduce the error?

davidcollom avatar Nov 02 '23 13:11 davidcollom

@davidcollom The fluent-bit helm chart is a good example https://github.com/fluent/helm-charts/blob/main/charts/fluent-bit

Does that get you what you're looking for ?

jwitko avatar Nov 02 '23 15:11 jwitko

We're having the same issue here. We use Harbor as docker registry

https://github.com/jetstack/version-checker/issues/162#issuecomment-2149091891

acascais avatar Jun 05 '24 09:06 acascais