File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -414,6 +414,8 @@ docker-cli install instructions: https://minikube.sigs.k8s.io/docs/tutorials/doc
414414 }
415415 cmd := exec .Command (path , d .GetSSHKeyPath ())
416416 cmd .Stderr = os .Stderr
417+
418+ // TODO: refactor to work with docker, temp fix to resolve regression
417419 if cr == constants .Containerd {
418420 cmd .Env = append (cmd .Env , fmt .Sprintf ("SSH_AUTH_SOCK=%s" , co .Config .SSHAuthSock ))
419421 cmd .Env = append (cmd .Env , fmt .Sprintf ("SSH_AGENT_PID=%d" , co .Config .SSHAgentPID ))
@@ -423,8 +425,11 @@ docker-cli install instructions: https://minikube.sigs.k8s.io/docs/tutorials/doc
423425 exit .Error (reason .IfSSHClient , "Error with ssh-add" , err )
424426 }
425427
426- // eventually, run something similar to ssh --append-known
427- appendKnownHelper (nodeName , true )
428+ // TODO: refactor to work with docker, temp fix to resolve regression
429+ if cr == constants .Containerd {
430+ // eventually, run something similar to ssh --append-known
431+ appendKnownHelper (nodeName , true )
432+ }
428433 }
429434 },
430435}
You can’t perform that action at this time.
0 commit comments