git.psu.edu will be upgraded to critical security release 13.7.4 Monday, 11/18 between 9 and 10pm. Please email support@git.psu.edu if you have trouble with anything Gitlab-related. Please see the git.psu.edu Yammer group for more information.

Commit f7b08b72 authored by Christopher Harm's avatar Christopher Harm

Fixing error message for helm3

parent 65a01c4a
Pipeline #89229 passed with stages
in 52 seconds
......@@ -235,7 +235,11 @@ func buildDockerAndDeploy(config config.Config) error {
err = environment.Run(true, "helm", args...)
if err != nil {
color.New(color.FgRed).Printf("helm error. try running 'helm del --purge %s'\n", releaseName)
if helmVersion2() {
color.New(color.FgRed).Printf("helm error. try running 'helm del --purge %s'\n", releaseName)
} else {
color.New(color.FgRed).Printf("helm error. try running 'helm del %s'\n", releaseName)
}
return err
}
......
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