remove FixKustomizationPreUnmarshalling

This commit is contained in:
yugo kobayashi
2022-12-09 16:03:50 +00:00
parent 4cccb838ce
commit faddb49c89
8 changed files with 49 additions and 60 deletions

View File

@@ -101,10 +101,7 @@ func (lc *localizer) load() (*types.Kustomization, string, error) {
if err != nil {
return nil, "", errors.Wrap(err)
}
content, err = types.FixKustomizationPreUnmarshalling(content)
if err != nil {
return nil, "", errors.WrapPrefixf(err, "invalid kustomization")
}
var kust types.Kustomization
err = (&kust).Unmarshal(content)
if err != nil {

View File

@@ -210,7 +210,7 @@ bases:
- beta
configMapGenerator:
- env: env.properties
images:
imageTags:
- name: postgres
newName: my-registry/my-postgres
newTag: v1