{
"type": "error",
"links": {},
"code": "Invalid",
"message": "CAPIProvider.turtles-capi.cattle.io \"kubeadm-controlplane\" is invalid: spec: Invalid value: \"object\": CAPI Provider version should be in the semver format prefixed with 'v'. Example: v1.9.3",
"status": 422,
"type": "error"
}
It feels like there are 2 issues here:
[ ] Errors should be reported to the user
[ ] If there is no value entered then the front end shouldn't send the field in the request.
When enabling a custom provider and not specifying a version the request silently fails.
To repro:
Looking at the request/response you see it sends:
And this responds with an error:
It feels like there are 2 issues here: