Code Review
/
ric-plt
/
appmgr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
6ff31e2
)
Use default helm version if version not provided
49/5149/1
author
Mohamed Abukar
<abukar.mohamed@nokia.com>
Wed, 25 Nov 2020 06:58:42 +0000
(08:58 +0200)
committer
Mohamed Abukar
<abukar.mohamed@nokia.com>
Wed, 25 Nov 2020 06:58:54 +0000
(08:58 +0200)
Change-Id: I0c3c2233decc6a65a386e4416e668c9fbbdc81cf
Signed-off-by: Mohamed Abukar <abukar.mohamed@nokia.com>
pkg/helm/helm.go
patch
|
blob
|
history
diff --git
a/pkg/helm/helm.go
b/pkg/helm/helm.go
index
806a6c8
..
a972e75
100755
(executable)
--- a/
pkg/helm/helm.go
+++ b/
pkg/helm/helm.go
@@
-47,6
+47,9
@@
type Helm struct {
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, ".")