Commit 7a00fc4e authored by Christopher Harm's avatar Christopher Harm

Fixing clean command to work with helm 3

parent 8c71d10f
Pipeline #81686 passed with stages
in 57 seconds
......@@ -130,7 +130,11 @@ func removeHelmRelease(releaseName string) error {
}
}
args := []string{"delete", "--purge", releaseName}
args := []string{"delete"}
if helmVersion2() {
args = append(args, "--purge")
}
args = append(args, releaseName)
err := environment.Run(true, "helm", args...)
if err != nil {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment