- When provisioning an RKE2 cluster changing the kube version can not only change the addons used but also their versions (1.21 / 1.22 container network: calico).
- This change ensures that this is taken in to account by changing the way the chartValues are calculated
- previously these were created up front and sent as a whole, though if the user changed yaml config only the diff was sent
- now only the diff is ever sent (diff is calculated on change of config, chartValues is dynamically created on 'save')
Added bonuses
- user config is now retained between changes of addons (user edits config A, switches to config B, switches back to A and their edits remain). This means a user who changes addons (upgrades kube, switches container network, etc) won't lose their config after the defaults of the newly selected addon are shown.
- fixed a `Questions` related console error regarding a component with ID `Map`
- fixed an issue where `refreshYamls` could error given a missing component
Bugs
- Some addon config shows as Questions, specifically the vSphere Cloud Provider. For some headache inducing reason changes to these questions aren't retained in the input controls on blur (though are persisted where they should be