kpt
kpt copied to clipboard
Function to update all image tags to most recent versions
Describe your problem
I have a package with a bunch of images. I want to update all the image tags to the latest release of those images. Right now, that means going to each registry and manually finding the most recent tag and updating each one. We should have all the info needed to just run an imperative function that does a bulk update of each image to the most recent tag (either the hash, or a version tag following standard conventions that is on the same hash as the latest tag, would be one heuristic we could use).
This would save me time, but actually more useful would be for installation instructions for applications, which can easily fall out of date with the image tags.
Obviously this requires the function to have network access as well as the credentials for the registries, if they are private. That's going to be the most painful part, probably. But even one that just worked on public registries would be a good start.
This seems like a good use-case for bulk function execution: https://github.com/GoogleContainerTools/kpt/issues/3350