Closed mwalser closed 1 year ago
This is really annoying.
Maybe if we make it a more specific name (e.g. helmMavenPluginChartRepo
) we could simply always try to remove it before the build?
I guess most of the time the repository is identical. We could just skip the helm repo add
if the urls match
I think --force-update can be added to revert to old behavior https://helm.sh/docs/helm/helm_repo_add/
When the previous build was interrupted for some reason, a repository named
chartRepo
can continue to stick around.This prevents future runs of the helm-maven-plugin by causing the following error:
Ideally the helm-maven-plugin should detect such a situation and perform a clean-up operation.