Use helm show chart to identify chart version

Signed-off-by: Felipe Santos <felipecassiors@gmail.com>
This commit is contained in:
Felipe Santos
2022-10-03 22:04:08 -03:00
parent 3165551f9a
commit f15bdbbb0c
17 changed files with 115 additions and 24 deletions
+3
View File
@@ -1,5 +1,7 @@
package helmexec
import "helm.sh/helm/v3/pkg/chart"
// Version represents the version of helm
type Version struct {
Major int
@@ -33,6 +35,7 @@ type Interface interface {
IsHelm3() bool
GetVersion() Version
IsVersionAtLeast(versionStr string) bool
ShowChart(chart string) (chart.Metadata, error)
}
type DependencyUpdater interface {