chartmuseum / helm-push

Helm plugin to push chart package to ChartMuseum
Apache License 2.0
674 stars 170 forks source link

helm push does not respect `--insecure-skip-tls-verify` of `helm repo add` #85

Open erikmartino opened 4 years ago

erikmartino commented 4 years ago

If you have a chartmuseum repo with a self-signed certificate, you can add it using

helm repo add --insecure-skip-tls-verify example https://chartmuseum.example.com

Expected behaviour:

You can do a

helm push hello-service example

to the above example repo that has a self signed certificate, without tls verification errors

Actual behaviour:

Error: Post "https://chartmuseum.example.com/api/charts": x509: certificate is valid for ingress.local, not chartmuseum.example.com
jdolitsky commented 4 years ago

@erikmartino thanks for opening. Can you verify if this works using the plugin's own --insecure flag?

valentin2105 commented 3 weeks ago

@erikmartino thanks for opening. Can you verify if this works using the plugin's own --insecure flag?

I confirm that with --insecure it work.