Update kustomize image
ProprietaryUpdate the newName, newTag or digest of an entry in a kustomization's images block, which is where kustomize edit set image and the sed, yq and Python scripts that stand in for it write an image pin. Only an entry that is already there is updated; an image the kustomization does not already override is left alone rather than added. A commented out entry stays a comment.
org. openrewrite. kubernetes. kustomize. UpdateImageTagRequired
The name of the images entry to update, which is the image as it is written in the resources being overlaid rather than the image it is replaced with.
Optional
The image name to override with. Leave unset to change only the tag or digest.
The tag to override with. Mutually exclusive with digest, so setting it removes a digest the entry already has.
The digest to override with, including its sha256: prefix. Mutually exclusive with newTag, so setting it removes a newTag the entry already has.
Matching files will be modified. This is a glob expression. When omitted, the file names kustomize itself recognizes are matched: kustomization.yaml, kustomization.yml and Kustomization.
mod run . --recipe= org. openrewrite. kubernetes. kustomize. UpdateImageTag \
-P imageName= controllerInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.