Make purge optional when running "helmfile delete"

`helmfile delete` has been implying `--purge` but it is not the case since this change.

The new behavior is `helmfile delete --purge` to actually purge releases.
Run just `helmfile delete` to delete releases but not purge them.

Resolves #71
This commit is contained in:
Yusuke KUOKA
2018-05-11 16:41:02 +09:00
parent fb781be560
commit 3979c18ad3
7 changed files with 36 additions and 9 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ type Interface interface {
SyncRelease(name, chart string, flags ...string) error
DiffRelease(name, chart string, flags ...string) error
ReleaseStatus(name string) error
DeleteRelease(name string) error
DeleteRelease(name string, flags ...string) error
DecryptSecret(name string) (string, error)
}