-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use path.join instead of filepath.join for ssh copy #1959
Conversation
1cf83cc
to
87d5561
Compare
b0dceef
to
d613618
Compare
pkg/provision/buildroot.go
Outdated
@@ -170,7 +170,7 @@ func setRemoteAuthOptions(p provision.Provisioner) auth.Options { | |||
dockerDir := p.GetDockerOptionsDir() | |||
authOptions := p.GetAuthOptions() | |||
|
|||
// due to windows clients, we cannot use filepath.Join as the paths | |||
// due to windows clients, we cannot use path.Join as the paths |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you want this comment to stay the same
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
pkg/provision/buildroot.go
Outdated
@@ -170,7 +170,7 @@ func setRemoteAuthOptions(p provision.Provisioner) auth.Options { | |||
dockerDir := p.GetDockerOptionsDir() | |||
authOptions := p.GetAuthOptions() | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good to figure out if we can catch this in a unit test somehow.
Codecov Report
@@ Coverage Diff @@
## master #1959 +/- ##
=======================================
Coverage 30.11% 30.11%
=======================================
Files 76 76
Lines 4722 4722
=======================================
Hits 1422 1422
Misses 3120 3120
Partials 180 180
Continue to review full report at Codecov.
|
d613618
to
4dd8a5e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is one instance of filepath.Join in the exec_runner and the ssh_runner.
Do you want to change all instances of filepath.Join to path.Join?
This is working on windows with the changes made |
4dd8a5e
to
e575585
Compare
I changed the ssh_runner to use path. but kept the exec_runner filepath. as it copies files on the host |
I had installed minikube v0.22.1 from https://github.com/kubernetes/minikube/releases |
@kfaseela you can use https://storage.googleapis.com/minikube-builds/1959/minikube-windows-amd64.exe but a new version will be released soon #1971 |
I just tried that version above but I still get the following (note the missing ip reported in #1945 seems to be fixed)
|
Hello @richardjharding I had the same problem like yours when I was using Hyper-v because my VM wasn't correctly connected to Internet ! Moved to VirtualBox and the problem was solved! @r2d4 the fixed version works for me but I'm getting a new error.
None of kubectl commands works for me, even
|
Seems like the certs are setup correctly now:
I get errors on startup of localkube. Localkube seems to search at the wrong place for the certificates:
The paths in the /var/lib/localkube/kubeconfig have backslashes instead of slashes:
|
No description provided.