vmware-archive / operator-builder

A Kubebuilder plugin to accelerate the development of Kubernetes operators
MIT License
41 stars 6 forks source link

feat: return error to user if they provide a marker argument key that is not recognized #259

Open lander2k2 opened 2 years ago

lander2k2 commented 2 years ago

If you include a valid marker with an invalid argument key like this:

// +operator-builder:field:name=potato,tipe=string,default="apple"

In this case type is mispelled as tipe. Today the code generation continues. Will improve the UX to return an error to the user.