Optimize the number of auth requests for oras manifest delete
and oras blob delete
#1104
Labels
enhancement
New feature or request
Milestone
What is the version of your ORAS CLI
v1.1.0-rc.2
What would you like to be added?
Like #1084, when deleting a manifest, the request 4 and 5 can be avoided if we get a token with delete scope in request 1:
request
#0
: HEAD manifest tag- 401request
#1
: GET token (scope: pull) - 200request
#2
: HEAD manifest tag- 200request
#3
: GET manifest digest- 200request
#4
: DELETE manifest digest 401request
#5
: GET token (scope: delete, pull) - 200request
#6
: DELETE manifest digest - 202Same for
oras blob delete
Why is this needed for ORAS?
This can further improve the performance of ORAS.
Are you willing to submit PRs to contribute to this feature?
The text was updated successfully, but these errors were encountered: