Push suffix/prefix code to plugin.

This commit is contained in:
jregan
2019-06-11 18:28:28 -07:00
parent fcc3082231
commit 11bb176a3f
19 changed files with 312 additions and 307 deletions

View File

@@ -49,7 +49,7 @@ func (pt *imageTransformer) Transform(m resmap.ResMap) error {
if !r.Id().Gvk().IsSelected(&path.Gvk) {
continue
}
err := mutateField(r.Map(), path.PathSlice(), false, pt.mutateImage)
err := MutateField(r.Map(), path.PathSlice(), false, pt.mutateImage)
if err != nil {
return err
}