Skip to content

Commit

Permalink
Merge pull request rancher#12063 from rak-phillip/bugfix/12016-addon-…
Browse files Browse the repository at this point in the history
…config

Correct key for version info assigment
  • Loading branch information
rak-phillip authored Sep 28, 2024
2 parents ab2fbd0 + 0d6987f commit 0ac340e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions shell/edit/provisioning.cattle.io.cluster/rke2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1546,7 +1546,7 @@ export default {
versionName: entry.version,
});
this.versionInfo.chartName = res;
this.versionInfo[chartName] = res;
const key = this.chartVersionKey(chartName);
if (!this.userChartValues[key]) {
Expand All @@ -1563,7 +1563,7 @@ export default {
this.addonNames.forEach((name) => {
const chartValues = this.versionInfo[name]?.questions ? this.initYamlEditor(name) : {};
this.userChartValuesTemp.name = chartValues;
this.userChartValuesTemp[name] = chartValues;
});
this.refreshComponentWithYamls(key);
},
Expand All @@ -1589,7 +1589,7 @@ export default {
},
updateValues(name, values) {
this.userChartValuesTemp.name = values;
this.userChartValuesTemp[name] = values;
this.syncChartValues(name);
},
Expand Down Expand Up @@ -1873,7 +1873,7 @@ export default {
const userValues = this.userChartValues[key];
if (userValues) {
rkeConfig.chartValues.name = userValues;
rkeConfig.chartValues[name] = userValues;
}
});
},
Expand Down

0 comments on commit 0ac340e

Please sign in to comment.