Giter VIP home page Giter VIP logo

Comments (6)

colinjfw avatar colinjfw commented on July 17, 2024

Thanks! We can definitely add a helm repo update command into the process. Do you want to contribute a fix?

Probably would need to do this at this line: https://github.com/deliverybot/helm/blob/master/index.js#L236

from helm.

raj-shekhar1 avatar raj-shekhar1 commented on July 17, 2024

Hi @colinjfw,
I tried adding the repo add , it is working fine but still issue with helm upgrade for helmv2.
The below command works locally but not with github action -
COMMAND -
helm upgrade validator6 charts***ose.com/aonity ***install ***atomic ***namespace=valid6 ***dry***run ***version=1.1.1 ***values=./values.yaml ***values=./genesis.yaml ***values=./values.yml

ERROR - failed to download "charts***ose.com/aonity" (hint: running `helm repo update` may help
-- ADDED for helm rep update too.
Any suggestions ??
temp repo - https://github.com/raj-shekhar1/helm-action-bot

from helm.

raj-shekhar1 avatar raj-shekhar1 commented on July 17, 2024

hey @colinjfw,
waiting for your suggestions for the resolution and move ahead with a PR 🤞
@JulienBreux

from helm.

colinjfw avatar colinjfw commented on July 17, 2024

@raj-shekhar1 I'd suggest opening a pull request with the forked repository, then we can discuss with a code diff which will help me understand the changes :)

from helm.

raj-shekhar1 avatar raj-shekhar1 commented on July 17, 2024

sure @colinjfw

from helm.

scarby avatar scarby commented on July 17, 2024

@colinjfw i work with @raj-shekhar1 and have opened a PR: #23 to add a repo parameter (also to specify chart version - which did not seem to be happening). It needs some further testing (and tests written to handle these scenarios - i am not there yet)

interestingly enough even after having the repo added (either in the docker file, helm repo add or via the repo flag) helm2 still fails with:

ERROR - failed to download "..." (hint: running `helm repo update` may help

It seems that this is actually a misleading error message and is thrown because helm cannot read the repositories file (i'm not sure how this doesn't bubble up - and is an issue for the helm devs), As such it needed to be specified via the --home argument to the location docker installs the helm config (explicitly setting $HELM_HOME failed as helm update seems to ignore it).

I am opening this for your review :)

from helm.

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.