Kustomize
Easy
Concepts
How do you change an image tag in every Deployment without writing a patch?
Select your answer:
Show answer and explanation
Answer: Add an images entry with the image name and newTag
Explanation
The images field matches containers by image name and can set newName, newTag or a digest. 'kustomize edit set image nginx=nginx:1.27' writes the entry for you, which suits CI pipelines.
More easy Kustomize questions
- Which field generates a ConfigMap from files or literal values?
- Why does a ConfigMap generated by Kustomize get a name like app-config-5g2m8k7h?
- Which command builds a kustomization with the standalone Kustomize CLI?
- What does commonAnnotations do?
- Which field is the current way to patch resources in Kustomize v5?
- Which command writes a kustomization.yaml that lists the YAML files in the current directory?