INNER CODE UNIT · Go

compatibleHelm3Version

databus23/helm-diff · cmd/helm.go:123

func compatibleHelm3Version() error {
	isCompatible, err := isHelmVersionAtLeast(minHelmVersion)
	if err != nil {
		return err
	}
	if !isCompatible {
		return fmt.Errorf("helm diff upgrade requires at least helm version %s", minHelmVersion.String())
	}
	return nil
}

// helmGetSubcmd is the `helm get` subcommand used to read data of a deployed release.
const helmGetSubcmd = "get"

// helmGetArgs builds the arguments for a `helm get <what> <release>` invocation.
//
// A revision of 0 means no --revision flag is passed, so helm defaults to the
// newest revision of the release regardless of its status.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…