kokuwaio / helm-maven-plugin

Simple plugin to package helm charts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for --force flag in helm upgrade goal

danparisi opened this issue · comments

FEATURE REQUEST
Supporting --force flag when running helm upgrade

Currently it's not possible to add such flag during install / upgrade goal.
It'd be nice to have a configuration property to enable it.

Current upgrade command:

[INFO] installing the chart with install /home/jenkins/agent/workspace/service-directory/my-service
[DEBUG] Execute: /home/jenkins/agent/workspace/service-directory/target/helm/helm upgrade my-service /home/jenkins/agent/workspace/service-directory/my-service --install

Expected upgrade command:

[INFO] installing the chart with install /home/jenkins/agent/workspace/service-directory/my-service
[DEBUG] Execute: /home/jenkins/agent/workspace/service-directory/target/helm/helm upgrade my-service /home/jenkins/agent/workspace/service-directory/my-service --install **--force**

Thanks for the very quick implementation