k8s-image-swapper icon indicating copy to clipboard operation
k8s-image-swapper copied to clipboard

Check if image exists in ECR

Open estahn opened this issue 4 years ago • 1 comments

The current implementation only checks if it's available via in-memory cache. If it is not then a download will be initiated – which effectively only syncs the latest layers. But ideally, no download should be initiated as this seems to count towards the rate-limiting of some providers.

estahn avatar Jan 28 '21 03:01 estahn

Does this change address this issue by adding a break in the workflow if the image is already in the target repo? https://github.com/estahn/k8s-image-swapper/commit/a133c782be4e3001a9ce829c50fd7ae79c0a4c75

krmichelos avatar Sep 21 '23 20:09 krmichelos

From practical experience this does not appear to be an issue. If so, I will reopen it.

estahn avatar Feb 13 '24 17:02 estahn