Merge pull request #10852 from IamMayankThakur/main

Fixed helm uninstall not deleting the resource.
pull/10960/head
Matthew Fisher 3 years ago committed by GitHub
commit e54e24cc90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -113,6 +113,10 @@ func (u *Uninstall) Run(name string) (*release.UninstallReleaseResponse, error)
}
deletedResources, kept, errs := u.deleteRelease(rel)
if errs != nil {
u.cfg.Log("uninstall: Failed to delete release: %s", errs)
return nil, errors.Errorf("failed to delete release: %s", name)
}
if kept != "" {
kept = "These resources were kept due to the resource policy:\n" + kept

Loading…
Cancel
Save