Skip to content

Commit

Permalink
feat: helm uninstall support
Browse files Browse the repository at this point in the history
  • Loading branch information
fracasula committed May 27, 2022
1 parent df2ab4b commit 48bbdfb
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions third_party/helm/helm.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,13 @@ func (m *Manager) RunInstall(opts ...Option) error {
return m.run(o)
}

// RunUninstall provides a way to uninstall the specified helm chart (useful in teardowns etc...)
func (m *Manager) RunUninstall(opts ...Option) error {
o := m.processOpts(opts...)
o.mode = "install"
return m.run(o)
}

// RunTemplate provides a way to invoke the `helm template` commands that can be used
// to perform the basic sanity check on the charts to make sure if the charts can be
// rendered successfully or not.
Expand Down

0 comments on commit 48bbdfb

Please sign in to comment.