mirror of https://github.com/helm/helm
parent
a3166a9cdc
commit
1e37113c39
@ -0,0 +1,14 @@
|
||||
package dm
|
||||
|
||||
import (
|
||||
"github.com/deis/helm-dm/kubectl"
|
||||
)
|
||||
|
||||
// uninstall uses kubectl to uninstall the base DM.
|
||||
//
|
||||
// Returns the string output received from the operation, and an error if the
|
||||
// command failed.
|
||||
func Uninstall(runner kubectl.Runner) (string, error) {
|
||||
o, err := runner.Delete("dm", "Namespace", "dm")
|
||||
return string(o), err
|
||||
}
|
Loading…
Reference in new issue