@ -33,6 +33,9 @@ func TestHelm(t *testing.T) {
t.Fatal("Not connected to kubernetes")
}
t.Log("Kuberneter Version")
t.Log(kube.Version())
if !helmRunning(helm) {
t.Fatal("Helm is not installed")
@ -74,3 +74,8 @@ func (k *KubeContext) Running() bool {
_, err := exec.Command(k.Path, "cluster-info").CombinedOutput()
return err == nil
func (k *KubeContext) Version() string {
out, _ := exec.Command(k.Path, "version").Output()
return string(out)