What happened?
The --insecure-skip-tls-verify seems to not work when helm is used to install/upgrade a release on a cluster.
What did you expect to happen?
The TLS verification should be skipped also when installing/upgrading a release.
How can we reproduce it (as minimally and precisely as possible)?
$ helm upgrade "$RELEASE_NAME" "$CHART_PATH" --atomic -i --insecure-skip-tls-verify --namespace "$NAMESPACE_NAME" --kube-apiserver "$CI_ENVIRONMENT_URL" --kube-token "$OCP_DEPLOYER_TOKEN" -f "$CHART_PATH/environments/values-$ENV.yaml"
Error: Kubernetes cluster unreachable: Get "https://kubernetes.default:443/version": tls: failed to verify certificate: x509: certificate signed by unknown authority
Helm version
Details
version.BuildInfo{Version:"v3.18.6", GitCommit:"b76a950f6835474e0906b96c9ec68a2eff3a6430", GitTreeState:"clean", GoVersion:"go1.24.6"}
Kubernetes version
Details
There is no kubectl in the Alpine Docker image I'm using.
What happened?
The
--insecure-skip-tls-verifyseems to not work whenhelmis used to install/upgrade a release on a cluster.What did you expect to happen?
The TLS verification should be skipped also when installing/upgrading a release.
How can we reproduce it (as minimally and precisely as possible)?
Helm version
Details
version.BuildInfo{Version:"v3.18.6", GitCommit:"b76a950f6835474e0906b96c9ec68a2eff3a6430", GitTreeState:"clean", GoVersion:"go1.24.6"}Kubernetes version
Details
There is no
kubectlin the Alpine Docker image I'm using.