mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
Add flag --enable-helm
This commit is contained in:
@@ -6,6 +6,7 @@ package kusttest_test
|
||||
import (
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"os/exec"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
@@ -83,6 +84,11 @@ func makeBaseEnhancedHarness(t *testing.T) *HarnessEnhanced {
|
||||
filesys.MakeFsOnDisk())}
|
||||
}
|
||||
|
||||
func (th *HarnessEnhanced) ErrIfNoHelm() error {
|
||||
_, err := exec.LookPath(th.GetPluginConfig().HelmConfig.Command)
|
||||
return err
|
||||
}
|
||||
|
||||
func (th *HarnessEnhanced) GetRoot() string {
|
||||
return th.ldr.Root()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user