Giter VIP home page Giter VIP logo

Comments (6)

ErinCall avatar ErinCall commented on September 25, 2024

Will you paste the output from the Drone logs? If you can add debug: true, that would be especially helpful. It won't reveal secrets in this case--the kube_token gets redacted.

from drone-helm3.

kyletong69 avatar kyletong69 commented on September 25, 2024

I successfully pushed the chart to the harbor,
but when pulling the chart, it passes 443. Because it is a development environment, I don’t want to use https. Is there a way to pull the chart via http?

 calling *run.InitKube.Prepare (step 0)
 --
 3 | loading kubeconfig template from /root/.kube/config.tpl
 4 | creating kubeconfig file at /root/.kube/config
 5 | calling *run.AddRepo.Prepare (step 1)
 6 | Generated command: '/usr/bin/helm --namespace mml-dev --debug repo add mychart  http://192.168.20.172/chartrepo/helm-repo'
 7 | calling *run.Upgrade.Prepare (step 2)
 8 | Generated command: '/usr/bin/helm --namespace mml-dev --debug upgrade --install --wait --set image.tag=# mml mychart/mml'
 9 | calling *run.InitKube.Execute (step 0)
 10 | writing kubeconfig file to /root/.kube/config
 11 | calling *run.AddRepo.Execute (step 1)
 12 | "mychart" has been added to your repositories
 13 | calling *run.Upgrade.Execute (step 2)
 14 | Error: Get https://192.168.20.172/chartrepo/helm-repo/charts/mml-0.1.0.tgz: dial tcp 192.168.20.172:443: connect: connection refused
 15 | helm.go:76: [debug] Get https://192.168.20.172/chartrepo/helm-repo/charts/mml-0.1.0.tgz: dial tcp 192.168.20.172:443: connect: connection refused
 16 | while executing *run.Upgrade step: exit status 1

from drone-helm3.

ErinCall avatar ErinCall commented on September 25, 2024

Thanks for that debug output. From what I can see, the http->https change is being made by helm itself, not by this plugin. Do the generated commands work if you run them from the command line?

We just created #75, adding a repo_ca_file setting, which might work for you. You'd still have to set up TLS, but you could use a self-signed CA certificate rather than having to get a certificate from a public CA.

from drone-helm3.

ErinCall avatar ErinCall commented on September 25, 2024

@kyle1739 hi, just checking in—are you still looking for help with this?

from drone-helm3.

kyletong69 avatar kyletong69 commented on September 25, 2024

Hi, when using a self-signed CA certificate, I still receive an error message stating that it is not a public CA certified certificate, so when I use chartmuseum charts it works without https.
thanks!!

from drone-helm3.

ErinCall avatar ErinCall commented on September 25, 2024

Ok, sounds like you're all set, then :)

from drone-helm3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.