enable extended patch transformer and add tests

This commit is contained in:
jingfangliu
2019-07-15 15:17:33 -07:00
parent 76a7816aeb
commit a85f297f31
3 changed files with 950 additions and 2 deletions

View File

@@ -200,7 +200,6 @@ func (k *Kustomization) EnforceFields() []string {
// new field names.
func FixKustomizationPreUnmarshalling(data []byte) []byte {
deprecateFieldsMap := map[string]string{
"patches:": "patchesStrategicMerge:",
"imageTags:": "images:",
}
for oldname, newname := range deprecateFieldsMap {