./hack/operators.sh [NAME]
each operator has its own go.mod
. It should be treated as individual kubebuilder generated project.
https://github.com/dzou-hpe/operators-template/pull/3/checks
this shows you how build is done automatically when you created a PR with two new Operators
cd
into the operator you want to create API and follow official doc