Describe the bug
The helm.Upgrade is always using the latest version of the chart to install the new version and ignoring the version value in the helm.Options parameter, which should be honored.
To Reproduce
Steps to reproduce the behavior, code snippets and examples which can be used to reproduce the issue.
helmOpts := &helm.Options{
SetValues: values,
KubectlOptions: c.GetKubectlOptions(Config.KumaNamespace),
Version: c.opts.helmChartVersion,
}
helm.UpgradeE(c.t, helmOpts, "chart-repo/chart-name", "my-release")
Expected behavior
Chat of version specified in helm.Options should be used.
Nice to have
Versions
- Terratest version:
v0.48.2
- Environment details (Ubuntu 20.04, Windows 10, etc.): Ubuntu 24.04, orthogonal to the OS.
Additional context
(none)
Describe the bug
The
helm.Upgradeis always using the latest version of the chart to install the new version and ignoring theversionvalue in thehelm.Optionsparameter, which should be honored.To Reproduce
Steps to reproduce the behavior, code snippets and examples which can be used to reproduce the issue.
Expected behavior
Chat of version specified in
helm.Optionsshould be used.Nice to have
Versions
v0.48.2Additional context
(none)