Merge pull request #556 from zoncoen/name-suffix-2

Add nameSuffix field to kustomization.yaml
This commit is contained in:
k8s-ci-robot
2018-11-20 08:50:22 -08:00
committed by GitHub
11 changed files with 186 additions and 12 deletions

View File

@@ -296,7 +296,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 {