mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Do not add kubeconfig while running kubemci
This commit is contained in:
parent
cfa6d35c85
commit
e012ef8cc4
@ -2206,9 +2206,6 @@ func runKubemciCmd(args ...string) (string, error) {
|
|||||||
// kubemci is assumed to be in PATH.
|
// kubemci is assumed to be in PATH.
|
||||||
kubemci := "kubemci"
|
kubemci := "kubemci"
|
||||||
b := new(kubectlBuilder)
|
b := new(kubectlBuilder)
|
||||||
if TestContext.KubeConfig != "" {
|
|
||||||
args = append(args, "--"+clientcmd.RecommendedConfigPathFlag+"="+TestContext.KubeConfig)
|
|
||||||
}
|
|
||||||
args = append(args, "--gcp-project="+TestContext.CloudConfig.ProjectID)
|
args = append(args, "--gcp-project="+TestContext.CloudConfig.ProjectID)
|
||||||
|
|
||||||
b.cmd = exec.Command(kubemci, args...)
|
b.cmd = exec.Command(kubemci, args...)
|
||||||
|
Loading…
Reference in New Issue
Block a user