unbroken-dome/gradle-helm-plugin

[Q] How to execute helm upgrade with "--repo"

Closed this issue · 1 comments

Hello,

Would it be possible to execute something like this with the plugin?
helm upgrade '$chart_name' '$chart_name' --install --version '$version' --repo '$repository'

thanks for great piece of software.

and replaying to myself.
after analyzing the code (unfortunately kotlin is not my favourite language in terms of readability) I found it pretty easy:

    releases {
        httpa {
            repository = uri('https://myrepohere/')
            from  "${project.group.replace('.', '/')}/$project.name"
            version = project.version
           // dryRun = true
        }
    }

repo prop is key here repository