Changing image tags and name with kustomization.yaml Changing image tags and name with kustomization.yaml docker docker

Changing image tags and name with kustomization.yaml


You have to remove "-" in newName line under the images section. It should be like this, it is worked.

 images: - name: the-my-app   newName: my.docker.registry.com/my-project/my-app   newTag: test


You can run kustomize build my-kustomization-dir to check if the image is replaced or not in the yaml file.This command lets you see what will be applied in your cluster.