-
Notifications
You must be signed in to change notification settings - Fork 3.4k
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Questions: about the resolvedImageName and ImageName. #924
Comments
I see the code is currently putting the resolved image name as the image tag. My understanding is that it should use the passed in ref and if they differ possibly add the resolved ref. I don't think we should be relying on the resolver to do canonicalizing since we are trying to force the clients to define and enforce those outside the scope of remote resolution. If the resolved name does not match the passed in name, I figure that it would only be valuable to the client as metadata or for logging rather than tracking. @stevvooe might have more of an opinion on what the role should be going forward
Not for the Docker resolver since we are currently requiring canonical names. |
I see both as being targets for saving. Let's say you do the following:
This allows the resolver, which is the image namespace controller, to canonicalize to a particular tag or qualified name. This could return I actually thought of making this return a slice of references that could be stored in the image service. To answer the questions in line:
Yes.
No, it can resolve from the image metadata service.
No. Where is that implied?
That is up to you. I would just write it into the metadata store. I think what we might be missing here is a local resolver that operates on the image store. |
If we only put the resolved name into image store (current behavior), then we need to resolve the image name again whenever we use the pre-resolved image name to reference the image. However, if as you said, we should put both into the store, then the problem is resolved. |
I believe this has been resolved. Let me know if not. |
Currently:
resolvedImageName
is expected to be put into image metadata store.The problem is that:
resolvedImageName
and then the image metadata?ImageName -> ResolvedImageName
mapping, and do the local resolution outside of containerd?/cc @stevvooe @dmcgowan
The text was updated successfully, but these errors were encountered: