-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Labels
help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Description
What Happened?
Hi all
I am behind a corporate proxy which address is: internet-app.corp.thales:8000
minikube fails to properly parse the variable to set in the minikube container:
**- HTTP_PROXY=http://AN006498:*****@internet**
! You appear to be using a proxy, but your NO_PROXY environment does not include the minikube IP (192.168.49.2).
* Please see https://minikube.sigs.k8s.io/docs/handbook/vpn_and_proxy/ for more details
- HTTPS_PROXY=http://AN006498:*****@internet
- NO_PROXY=localhost,********
**! Failing to connect to https://registry.k8s.io/ from inside the minikube container**
As you can see the http_proxy is stopped at the -. I tried to set the - with ascii escape but:
! Error parsing HTTPS_PROXY=http://AN006498:*********@internet%2dapp.corp.thales:8000, parse "http://AN006498:*********@internet%2dapp.corp.thales:8000": invalid URL escape "%2d"
I tried to set an proxy hostname in the system, but of course the certificate is invalid due to different FQDN and minikube still fails to connect upstream for updating the container contents.
kubernetes environment seems to be ok:
* Preparing Kubernetes v1.32.0 on Docker 27.4.1 ...
- env HTTP_PROXY=http://AN006498:********@internet-app.corp.thales:8000
- env HTTPS_PROXY=http://AN006498:*********@internet-app.corp.thales:8000
- env NO_PROXY=localhost,***********
- Generating certificates and keys ...
Attach the log file
no logs to be provided
Operating System
Ubuntu
Driver
Docker
Metadata
Metadata
Assignees
Labels
help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.