mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-17 05:32:22 -04:00
upgrade: fix 2.6 -> 2.7 migration for 2.7.1 patch
Also correctly set microservice version from config. Previously the key was ignored and microservices were always tried for an upgrade.
This commit is contained in:
parent
1d24036f21
commit
4a0d531821
4 changed files with 79 additions and 36 deletions
|
@ -50,7 +50,7 @@ func TestShouldUpgrade(t *testing.T) {
|
|||
|
||||
chart, err := loadChartsDir(helmFS, certManagerInfo.path)
|
||||
require.NoError(err)
|
||||
err = client.shouldUpgrade(certManagerInfo.releaseName, chart)
|
||||
err = client.shouldUpgrade(certManagerInfo.releaseName, chart.Metadata.Version)
|
||||
if tc.wantError {
|
||||
tc.assertCorrectError(t, err)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue