You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use HELM behind proxy: support insecure repositories when charts get downloaded #7875
bamboo@app-bamboo-agent-5:~$ helm pull fluxcd/flux
Error: Get https://<helm-repository>/repository/helm-fluxcd/flux-1.3.0.tgz: x509: certificate signed by unknown authority
Just making sure by specyfing the repo directly:
bamboo@app-bamboo-agent-5:~$ helm pull fluxcd/flux --repo https://repo.crelan-int.be/repository/helm-fluxcd/
Error: looks like "https://<helm-repository>/repository/helm-fluxcd/" is not a valid chart repository or cannot be reached: Get https://<helm-repository>/repository/helm-fluxcd/index.yaml: x509: certificate signed by unknown authority
Fix
Current pull, install and upgrade commands should keep into account that TLS verification is not required if the repository is marked as insecure.
Why this is a draft: Seems like it breaks something with the Kubernetes cluster configuration and I don't know why yet 😞
! [lola ~/p/helm] git:(fix_insecure_skip_verify) ✗ go run ./cmd/helm install --insecure-skip-tls-verify test fluxcd/flux
Error: Kubernetes cluster unreachable: Get "https://kubernetes.docker.internal:6443/version?timeout=32s": x509: certificate signed by unknown authority
exit status 1
It looks like this is resolved, there may still be an issue with helm accessing an insecure k8s cluster, but the repo/charts are good. Feel free to open a new issue if we need to resolve the latter.
Activity
xvzf commentedon Apr 4, 2020
/assign xvzf
technosophos commentedon Apr 6, 2020
It looks like @xvzf has self-assigned! Thanks! I have added the bug label. Let me know if you feel that this is more of a feature request.
added option --insecure-skip-tls-verify for helm pull, addresses helm…
xvzf commentedon May 1, 2020
Why this is a draft: Seems like it breaks something with the Kubernetes cluster configuration and I don't know why yet 😞
added option --insecure-skip-tls-verify for helm install, addresses h…
xvzf commentedon May 1, 2020
Nvm, mitmproxy also proxies the k8s apiserver, PR is done
paulczar commentedon Jun 24, 2020
It looks like this is resolved, there may still be an issue with helm accessing an insecure k8s cluster, but the repo/charts are good. Feel free to open a new issue if we need to resolve the latter.
xvzf commentedon Jun 24, 2020
@paulczar issue is closed by a still open PR - I suggest to keep this open for tracking!
Merge pull request #8039 from xvzf/fix_insecure_skip_verify
bacongobbler commentedon Jun 24, 2020
merged #8039 just now, so we should be good here.
added option --insecure-skip-tls-verify for helm pull, addresses helm…
added option --insecure-skip-tls-verify for helm install, addresses h…
added option --insecure-skip-tls-verify for helm pull, addresses helm…
added option --insecure-skip-tls-verify for helm install, addresses h…