add projectId to monitoring v1 upgrade calls

rancher/rancher#30455
This commit is contained in:
Westly Wright 2020-12-15 14:59:25 -07:00
parent ab3ccb1b49
commit fda68dd848
No known key found for this signature in database
GPG Key ID: 4FAB3D8673DC54A3
1 changed files with 1 additions and 0 deletions

View File

@ -113,6 +113,7 @@ export default Mixin.create(UpgradeComponent, {
url: `/v3/project/${ get(app, 'projectId') }/apps/${ get(app, 'id') }`,
method: 'PUT',
data: {
projectId: get(app, 'projectId'),
targetNamespace: get(app, 'targetNamespace'),
externalId: get(app, 'externalId')
.replace(`version=${ get(externalInfo, 'version') }`, `version=${ templateVersion }`)