Giter VIP home page Giter VIP logo

Comments (16)

colinjfw avatar colinjfw commented on August 16, 2024 1

from helm.

anasinnyk avatar anasinnyk commented on August 16, 2024 1

It will be awesome to add helm dependency support.

from helm.

ChrisBit avatar ChrisBit commented on August 16, 2024

I might be missing something here. I might have to
helm repo add bitnami https://charts.bitnami.com/bitnami
helm install bitnami/wordpress

But it doesn't look like there is support for running custom commands before deploy.

from helm.

colinjfw avatar colinjfw commented on August 16, 2024

@ChrisBit ya definitely the helm repo add is the part that's probably missing here. Do you think this fits best as an argument? For example:

  with:
    release: xx
    repository: 'https://charts.bitnami.com'

from helm.

ChrisBit avatar ChrisBit commented on August 16, 2024

Hi @colinjfw !

Do you think maybe there will be support for running custom commands before deploy? Or is the plan to implement helm commands one by one, helm plugin install for example? If the last case, that argument looks like a good way to solve it.

from helm.

italolelis avatar italolelis commented on August 16, 2024

@colinjfw maybe accepting a list of repositories πŸ€” ? There would definitely be some cases where we would need more than one custom repository.

from helm.

colinjfw avatar colinjfw commented on August 16, 2024

from helm.

colinjfw avatar colinjfw commented on August 16, 2024

@ChrisBit I just went to work on this and I realized something. If you specify the full url of the chart I believe that helm should use the for installation. So one of the wordpress charts should have the url like this:

https://charts.bitnami.com/bitnami/wordpress-7.5.3.tgz

If you specify that in the chart option I believe this will work for you. I actually like this better than the helm repo add command because I find it to be a bit more explicit.

Curious what you think.

from helm.

ChrisBit avatar ChrisBit commented on August 16, 2024

Hi! Yeah, this was interesting. Looks like the .tgz contains the actual files of the dependencies as well. I think will work. I'll test it as soon as I have time.

from helm.

ChrisBit avatar ChrisBit commented on August 16, 2024

Hi again. This did not work with the current helm binary, but I just tested it with helm3 and it works!

from helm.

colinjfw avatar colinjfw commented on August 16, 2024

from helm.

colinjfw avatar colinjfw commented on August 16, 2024

Thanks @anasinnyk - I've been trying to get a better testing setup so I can test changes with this action against a real K8s cluster. Hopefully once I get that in I can do this.

from helm.

colinjfw avatar colinjfw commented on August 16, 2024

It looks like helm v2 can install a chart from a url (see helm/helm#1158 (comment)).

Are there any specific errors that anyone is seeing using something like:

  chart: 'https://charts.bitnami.com/bitnami/wordpress-7.5.3.tgz'

I still think that's the best solution here.

from helm.

dreamgonfly avatar dreamgonfly commented on August 16, 2024

Specifying URL is just a workaround, not the best solution at all, IMHO.
Hope there will be better solution in the future.

from helm.

raj-shekhar1 avatar raj-shekhar1 commented on August 16, 2024

@ChrisBit I just went to work on this and I realized something. If you specify the full url of the chart I believe that helm should use the for installation. So one of the wordpress charts should have the url like this:

https://charts.bitnami.com/bitnami/wordpress-7.5.3.tgz

If you specify that in the chart option I believe this will work for you. I actually like this better than the helm repo add command because I find it to be a bit more explicit.

Curious what you think.

This is not working for me but.

from helm.

raj-shekhar1 avatar raj-shekhar1 commented on August 16, 2024

@colinjfw still same issue with helmv2 the git hub action is not able to download the chart. the error below - Error: failed to download "xxxx" (hint: running helm repo update may help)
##[error]Error: The process 'helm' failed with exit code 1
##[error]The process 'helm' failed with exit code 1
##[error]Docker run failed with exit code 1

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.