add set image command

This commit is contained in:
Nestor
2019-01-18 10:56:16 +01:00
parent 2c1be17fe7
commit b22e43a4a7
7 changed files with 419 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...)
}