kokuwaio / helm-maven-plugin

Simple plugin to package helm charts
MIT License
82 stars 55 forks source link

Add support --ignore-not-found for uninstall command #351

Closed tipame closed 9 months ago

tipame commented 9 months ago

Is this a BUG REPORT or FEATURE REQUEST? (choose one): FEATURE REQUEST

Environment (plugin version, maven version, OS, ...): plugin version: 6.13.0 mvn version: 3.8.1 helm version: 3.8.0

What happened: Second call for uninstall goal allways end with error:

[ERROR] Error: uninstall: Release not loaded: my-release: release: not found

This is expected behavior for helm cli - as relese was successfuly deleted at previous call. But for maven plugin linked to lifecylce (clean phase) - it is not desired behavior. Helm has --ignore-not-found argument for uninstall command, but plugin do not support it. It would be greate to have support for this future.