Use default helm version if version not provided
Change-Id: I0c3c2233decc6a65a386e4416e668c9fbbdc81cf
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
diff --git a/pkg/helm/helm.go b/pkg/helm/helm.go
index 806a6c8..a972e75 100755
--- a/pkg/helm/helm.go
+++ b/pkg/helm/helm.go
@@ -47,6 +47,9 @@
func GetHelmVersion() {
var temp string
temp = os.Getenv("HELMVERSION")
+ if temp == "" {
+ temp = "HELMVERSION=v2.12.3"
+ }
appmgr.Logger.Info("Inside new Helm")
temp = strings.TrimLeft(temp,"v")
cm.EnvHelmVersion = string(temp[0:1]) //s.TrimRight(temp, ".")