[Q] How to execute helm upgrade with "--repo"
Closed this issue · 1 comments
bademux commented
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.
bademux commented
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