mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
Fix krm exec function working dir
This commit is contained in:
@@ -45,7 +45,9 @@ func NewKustTarget(
|
||||
rFactory *resmap.Factory,
|
||||
pLdr *loader.Loader) *KustTarget {
|
||||
pLdrCopy := *pLdr
|
||||
pLdrCopy.SetWorkDir(ldr.Root())
|
||||
pLdrCopy.DeepCopyPluginConfig()
|
||||
pLdrCopy.SetPluginConfigWorkingDir(ldr.Root())
|
||||
|
||||
return &KustTarget{
|
||||
ldr: ldr,
|
||||
validator: validator,
|
||||
|
||||
Reference in New Issue
Block a user