-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
review parameter validation #28
Comments
I had a good go at this in #48, but that PR is dead in it's current form, yet I'd encourage those wanting to work on this to take a look at use of tagged config structs. |
We still need to do this, but it needs to work for flags as well as the API. Namely, when using the API error messages need to be meaningful. We need to look into what Kubernetes does normally, and see what we can adapt from there, or at least do something that will work well in the context of Cluster API controller. |
Closing in favour of #488. |
Add scripts for running go vet and go fmt
Right now it's a bit ad-hoc, especially ASG size, but also instance types and regions are not validated at all.
https://github.com/weaveworks/eksctl/blob/0a39d1a2c1d107e1da90c27889d43bddba42ab3a/cmd/eksctl/create.go#L70
The text was updated successfully, but these errors were encountered: