[backport v2.10.2] Clusters can be created/edited with broken add-on config yaml file #12466
Labels
kind/bug
kind/design
QA/dev-automation
Issues that engineers have written automation around so QA doesn't have look at this
QA/None
release-note
size/3
Size Estimate 3
status/backport-candidate
Milestone
This is a backport issue for #12323, automatically created via GitHub Actions workflow initiated by @gaktive
Original issue body:
Setup
Describe the bug
Found while testing #12067
Clusters can be created/edited with broken add-on yaml files. We need a yaml validator for the add-on config as they are now displayed in separate tabs.
To Reproduce
1- From the Clusters Management in the UI, hit Create
2- Select rke2, Input your cloud credentials, fill all the mandatory fields, then select a container network add-on
3- Navigate to the container network tab, and brake the yaml file
4- Hit create
Result
UI allows clusters to be created with broken add-on yaml files.
Expected Result
UI must have a yaml validator for the add-on config file, that displays an error message and prevents a cluster to be created if the yaml files are broken. Same behavior should be applied for the edit form.
Screen.Recording.2024-10-22.at.10.24.14.mov
The text was updated successfully, but these errors were encountered: