mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-10 08:20:59 +00:00
fix: tempfile(?)
This commit is contained in:
@@ -160,6 +160,9 @@ func (p *ExecPlugin) invokePlugin(input []byte) ([]byte, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
// Cleanup plugin config file after execution
|
||||
defer os.Remove(args[0])
|
||||
|
||||
cmd := exec.Command(p.path, args...)
|
||||
cmd.Env = p.getEnv()
|
||||
cmd.Stdin = bytes.NewReader(input)
|
||||
|
||||
Reference in New Issue
Block a user