I am having issues with adding repos with helm on a docker container.
The command I am trying to run is: helm repo add dask https://helm.dask.org/
. The output from running it in the docker container is:
Error: looks like "https://helm.dask.org/" is not a valid chart repository or cannot be reached: Get "https://helm.dask.org/index.yaml": x509: certificate signed by unknown authority
I tried the same command outside of the docker container and I am getting the right output (I am working on MacOS Catalina and I have installed helm with Homebrew):
"dask" has been added to your repositories
I tried looking online (Helm 3: x509 error when connecting to local Kubernetes, docker container ssl certificates, https://github.com/fluxcd/flux/issues/1637). the last resource is pointing to adding the same local certificates of the host running the container, however I have not been able to do that.
I have also tried the stable chart repo with no luck (helm repo add stable https://charts.helm.sh/stable
).
Any suggestions?
EDIT: If I add this to the helm add repo
, --insecure-skip-tls-verify
the repo is added correctly. Of course this does not solve the bigger problem as I would like to have the right certificates in place.