Skip to content

[release 1.7] Refresh OAuth tokens when they expire during registry operations#11721

Merged
mxpv merged 1 commit intocontainerd:release/1.7from
mxpv:release17
Apr 22, 2025
Merged

[release 1.7] Refresh OAuth tokens when they expire during registry operations#11721
mxpv merged 1 commit intocontainerd:release/1.7from
mxpv:release17

Conversation

@mxpv
Copy link
Member

@mxpv mxpv commented Apr 18, 2025

Cherry-pick #8735 to 1.7
Got bitten by this on our workloads when pulling large container images. It'd great to have this patch in current LTS.

(depends on CI changes in #11722)

@github-project-automation github-project-automation bot moved this to Needs Triage in Pull Request Review Apr 18, 2025
@dosubot dosubot bot added the area/distribution Image Distribution label Apr 18, 2025
@mxpv mxpv moved this from Needs Triage to Needs Reviewers in Pull Request Review Apr 18, 2025
Signed-off-by: Iain Macdonald <xiainx@gmail.com>
Copy link
Member

@dims dims left a comment

Choose a reason for hiding this comment

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

LGTM

@github-project-automation github-project-automation bot moved this from Needs Reviewers to Review In Progress in Pull Request Review Apr 22, 2025
@mxpv mxpv merged commit e866d93 into containerd:release/1.7 Apr 22, 2025
91 of 92 checks passed
@github-project-automation github-project-automation bot moved this from Review In Progress to Done in Pull Request Review Apr 22, 2025
@mxpv mxpv deleted the release17 branch April 22, 2025 23:08
@dmcgowan dmcgowan changed the title [release 1.7] remotes/docker/authorizer.go: invalidate auth tokens when they expire. [release 1.7] Refresh OAuth tokens when they expire during registry operations Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

6 participants