From e809cbd97798063f6b3ab3d00b568f0fdf43c632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20F=20Bj=C3=B6rklund?= Date: Sat, 25 May 2019 09:55:27 +0200 Subject: [PATCH] Pass minikube stdin to the kubectl command This is needed for doing e.g. "apply -f -" --- cmd/minikube/cmd/kubectl.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/minikube/cmd/kubectl.go b/cmd/minikube/cmd/kubectl.go index f25bffdb00b7..0b734b8617a6 100644 --- a/cmd/minikube/cmd/kubectl.go +++ b/cmd/minikube/cmd/kubectl.go @@ -67,6 +67,7 @@ var kubectlCmd = &cobra.Command{ glog.Infof("Running %s %v", path, args) c := exec.Command(path, args...) + c.Stdin = os.Stdin c.Stdout = os.Stdout c.Stderr = os.Stderr if err := c.Run(); err != nil {