mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 07:28:31 +02:00
Fix delete on release of uninstalling status (#1786)
* Fix helmfile destroy/delete not deleting `uninstalling` release Ref https://github.com/roboll/helmfile/issues/1750#issuecomment-823677950 * Cover helm3 in helmfile-destroy test
This commit is contained in:
@@ -38,6 +38,8 @@ type Helm struct {
|
||||
DiffMutex *sync.Mutex
|
||||
ChartsMutex *sync.Mutex
|
||||
ReleasesMutex *sync.Mutex
|
||||
|
||||
Helm3 bool
|
||||
}
|
||||
|
||||
type Release struct {
|
||||
@@ -168,7 +170,7 @@ func (helm *Helm) ChartExport(chart string, path string, flags ...string) error
|
||||
return nil
|
||||
}
|
||||
func (helm *Helm) IsHelm3() bool {
|
||||
return false
|
||||
return helm.Helm3
|
||||
}
|
||||
|
||||
func (helm *Helm) GetVersion() helmexec.Version {
|
||||
|
||||
Reference in New Issue
Block a user