Merge pull request #707 from narg95/feature/add-set-image-command

add set image command
This commit is contained in:
Jeff Regan
2019-01-23 09:29:57 -08:00
committed by GitHub
7 changed files with 431 additions and 1 deletions

View File

@@ -157,6 +157,8 @@ func (k *Kustomization) DealWithDeprecatedFields() {
if len(k.ImageTags) > 0 {
// Transform `ImageTag` to `Image`
// for backwards compatibility
// images are appended first to keep
// higher precedence
k.Images = image.Append(
k.Images, k.ImageTags...)
}