From f0d8f705af36e92056a96d4e0fd25a788f1be602 Mon Sep 17 00:00:00 2001 From: Sami Alajrami Date: Wed, 4 Apr 2018 13:44:51 +0200 Subject: [PATCH] fixing charts validation not allowing the use of older chart versions. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 41602dd2..af497fb1 100644 --- a/main.go +++ b/main.go @@ -156,7 +156,7 @@ func validateReleaseCharts(apps map[string]*release) (bool, string) { for app, r := range apps { cmd := command{ Cmd: "bash", - Args: []string{"-c", "helm search " + r.Chart + " --version " + " -l"}, + Args: []string{"-c", "helm search " + r.Chart + " --version " + r.Version + " -l"}, Description: "validating if chart " + r.Chart + "-" + r.Version + " is available in the defined repos.", }