enable nameSuffix field of kustomization.yaml

This commit is contained in:
zoncoen
2018-11-15 19:04:11 +09:00
parent a094be45d9
commit 04a030bcf0
4 changed files with 24 additions and 11 deletions

View File

@@ -284,7 +284,7 @@ func (kt *KustTarget) newTransformer(patches []*resource.Resource) (transformers
string(kt.kustomization.Namespace), kt.tConfig.NameSpace))
t, err = transformers.NewNamePrefixSuffixTransformer(
string(kt.kustomization.NamePrefix),
"", // TODO(zoncoen): pass the name suffix
string(kt.kustomization.NameSuffix),
kt.tConfig.NamePrefix,
)
if err != nil {