This PR adds a boolean flag that allows to ignore certificate validation errors for https forwarding. It is akin to --insecure switch for curl. Confilg file has to be used to specify this flag.
The typical application for this change is a dev environment that uses self-signed certificates. A more concrete example could be exposing minikube api-server that runs behind NAT (e.g. in the Codespace). Starting from K8s 1.24 they stopped providing plain http access to the api-server and insecure https is the only option.
This PR adds a boolean flag that allows to ignore certificate validation errors for
https
forwarding. It is akin to--insecure
switch forcurl
. Confilg file has to be used to specify this flag.The typical application for this change is a dev environment that uses self-signed certificates. A more concrete example could be exposing
minikube
api-server that runs behind NAT (e.g. in the Codespace). Starting from K8s1.24
they stopped providing plain http access to the api-server and insecure https is the only option.