-
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
allow downloading insecure, (Fetch via HTTP if HTTPS is unavailable) #6692
Comments
I would be happy to review a pr that will solve this problem with --force flag |
Wouldn't it be better for the user to set up a local https proxy or something ? @torsten-liermann : This usually means that the corporate firewall is inspecting all https traffic and resigning it. |
@afbjorklund |
Seems mean to provide (half) a laptop, only to give it crippled internet access... Anyway, I don't know if there is a non-https mirror of the kubernetes files or not. We are also working with "batteries-included" distributions, that could be used ? |
This is how organizations think that have not yet understood the importance of software development, even though they want to deliver good software. I am only a guest there. I pulled the minikube software, the kubernetes software, from the Internet via I think |
Basically you would do one big download, where everything needed would be included. The term itself is from python (or toys): https://en.wikipedia.org/wiki/Batteries_Included |
Probably However, I think we need to add such an option to the download library that we are using. Even if it is using go classes to do the download, it doesn't seem like skipping certs is a provided option. https://godoc.org/github.com/hashicorp/go-getter#HttpGetter https://golang.org/pkg/crypto/tls/
Since you indeed have a corporate "man-in-the-middle", I'm not sure it is an "attack" ? |
This will probably not be permitted under labor law, but I am only a guest and do not use this system for private matters. At the moment I would limit the insecure to development and testing. A clean solution must be found for the build and operation of the productive system. It will be a long time before that and leading people will see more clearly. |
We would need to add this to the DefaultTransport of the DefaultClient. https://github.com/hashicorp/go-getter https://github.com/hashicorp/go-cleanhttp Currently there are no options to set this, only the httpGetter := &HttpGetter{
Netrc: true,
} // Netrc, if true, will lookup and use auth information found
// in the user's netrc file if available.
Netrc bool
// Client is the http.Client to use for Get requests.
// This defaults to a cleanhttp.DefaultClient if left unset.
Client *http.Client It is the https://golang.org/pkg/net/http/#Transport https://golang.org/pkg/crypto/tls/#Config Still, it would be much better if your IT department provided you with the root cert or a proxy ? Alternatively, you could do your development and testing somewhere where internet is allowed. |
Many thanks for your help! I have been doing software development for over 35 years and have many ideas for solutions. But with this customer I am in a situation where I have to spin gold out of straw, but there is no straw and the spinning wheel does not turn. I am glad that I was able to activate Hyper-V. So far I am not a golang programmer, otherwise I would already have a PR, maybe in a month. |
We recently added multiple fallback URL's to If someone wants to implement this, I recommend adding a similar for loop between a URLs with https:// and http://. You'll want to do it across these functions:
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
This is still an outstanding issue. /lifecycle frozen |
I would accept a PR that allows this as a --force option |
Hi,
minikube start should support insecure download of kubectl & co because of an horrible corporate LAN infrastructure. Is this possible?
Thanks!
logout output of minikube start
The text was updated successfully, but these errors were encountered: