kustomize namespace

This commit is contained in:
Seth Pollack
2018-06-04 22:30:03 -04:00
parent df2407ad3f
commit 6e54814b6d
4 changed files with 134 additions and 0 deletions

View File

@@ -208,6 +208,8 @@ func (a *applicationImpl) getTransformer(patches []*resource.Resource) (transfor
}
ts = append(ts, ot)
ts = append(ts, transformers.NewNamespaceTransformer(string(a.kustomization.Namespace)))
npt, err := transformers.NewDefaultingNamePrefixTransformer(string(a.kustomization.NamePrefix))
if err != nil {
return nil, err