Cannot read properties of undefined (reading 'component') while loading Elemental #11423
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Fixes #11414
Occurred changes and/or fixed issues
subTypes
array so that it is available while creating/editing an Elemental clusterTechnical notes summary
The problem lies with the
edit
view ofprovisioning.cattle.io.cluster
where if the preferred provisioner (RKE1 or RKE2 - toggle on cluster creation screen, which is persistent) would omit the machine config for Elemental clusters if it was toggled for RKE1. This PR makes it available always in a scenario where a subType has been selected, which will cover the create/edit Elemental cluster direct links.Areas or cases that should be tested
local cluster
->apps
->repositories
:type
git
url:
https://github.com/rancher/elemental-ui
branch:
gh-pages
1.3.1-rc7
(only published version compliant with Rancher 2.9)cluster management
-> hitcreate
-> toggle the rke indicator to rke1Create Elemental Cluster
cluster management
and edit the Elemental clusterAreas which could experience regressions
Screenshot/Video
Checklist