Most RKE1 Cluster YAML keys are not validated before cluster creation #5676
Labels
area/dashboard
area/form-validation
area/rke
ember
Ember UI Issue
kind/bug
size/3
Size Estimate 3
team/area2
Hostbusters
Milestone
Setup
Describe the bug
Most RKE1 cluster yaml keys are not validated prior to cluster creation. Any keys that are are camel cased or begin with an uppercase letter are not flagged as invalid and the values for those keys will be lost once the cluster is created.
To Reproduce
Create an RKE1 cluster by editing via YAML and using uppercase keys
Result
Any keys that are uppercase are replaced with their default values and lose the configured value.
Expected Result
The UI should validate all cluster yaml keys and block cluster creation if any configured keys are invalid, same as it does for
name
andrancher_kubernetes_engine_config
.Additional context
It currently appears to only validate the
name
andrancher_kubernetes_engine_config
keysHere are the three cluster yamls from each stage shown in the screenshots
Screenshots
The text was updated successfully, but these errors were encountered: