Skip to content
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

Update docker resolver with support for redirects #1237

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

fabioluz
Copy link

Authorizes the request in case the host is redirected, supporting at most 10 redirects.
Inspired in the containerd's implementation for supporting redirects. containerd/containerd@b1d4140

Signed-off-by: Fabio Luz fabio.luz@scarf.sh

@fabioluz fabioluz force-pushed the redirects branch 3 times, most recently from 959902b to 8ec8ac6 Compare May 26, 2021 19:25
Authorizes the request in case the host is redirected, supporting at most 10 redirects.
Inspired in the containerd's implementation for supporting redirects. containerd/containerd@b1d4140

Signed-off-by: Fabio Luz <fabio.luz@scarf.sh>
Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@mtrmac PTAL
Initial issue: containerd/containerd#5503

@mtrmac
Copy link
Collaborator

mtrmac commented May 27, 2021

Just a note for now: This needs careful review/research, compare #645 (comment) .

@fabioluz
Copy link
Author

Hi @vrothberg @markmc

Is there any update on this?

Let me know if you need any changes.

@rhatdan
Copy link
Member

rhatdan commented Jun 15, 2021

@mtrmac PTAL

@rhatdan
Copy link
Member

rhatdan commented Jul 1, 2021

@mtrmac what is going on with this PR?

@dysinger
Copy link

dysinger commented Aug 4, 2021

I am also wondering when this could be merged. AFAIK, all the other container registry clients handle redirects these days.

@mtrmac mtrmac added the kind/bug A defect in an existing functionality (or a PR fixing it) label Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A defect in an existing functionality (or a PR fixing it)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants