mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 09:02:53 +00:00
Push suffix/prefix code to plugin.
This commit is contained in:
@@ -206,8 +206,8 @@ func (kt *KustTarget) configureBuiltinNameTransformer(
|
||||
c.Prefix = kt.kustomization.NamePrefix
|
||||
c.Suffix = kt.kustomization.NameSuffix
|
||||
c.FieldSpecs = tConfig.NamePrefix
|
||||
p := builtin.NewNameTransformerPlugin()
|
||||
err = kt.configureBuiltinPlugin(p, c, "name")
|
||||
p := builtin.NewPrefixSuffixTransformerPlugin()
|
||||
err = kt.configureBuiltinPlugin(p, c, "prefixsuffix")
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user