Skip to content

Commit 1a60e35

Browse files
SlavaKatiukhadfateyev
authored andcommitted
K8S-529 (fix uninstall add-on during upgrade) (#40)
K8S-529 [K8s]: Cluster upgrade fails from 1.18.10 to 1.20.4
1 parent 6b2c3bb commit 1a60e35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/upgrade.jps

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ actions:
221221
jps = buildAddon(jps, newJps);
222222
delete newAddons[app.app_id];
223223
} else {
224-
resp = api.marketplace.jps.Uninstall(appid, session, app.uniqueName);
224+
resp = api.marketplace.jps.Uninstall({ appUniqueName: app.uniqueName, force: true });
225225
if (resp.result != 0) return resp;
226226
}
227227
}

0 commit comments

Comments
 (0)