Set an image in a kustomization
Update the image tag in kustomization.yaml
kustomize edit set image myapp=registry/myapp:v2.0.0
More kustomize commands
-
kustomize edit set namespace productionSet one namespace for all resources in the overlay
-
kustomize edit add label env:productionAdd a common label to all generated resources
-
kustomize edit add patch --path patch.yaml --kind Deployment --name <name>Register a strategic merge patch for one Deployment in kustomization.yaml
-
kustomize cfg list-setters .List all setters (settable fields) in the current directory
-
kubectl apply -k ./overlays/prodBuild and apply a kustomization in one kubectl command