Requires:
CodeReady ToolChain API is built using Go modules.
To re-generate the zz_generated.deepcopy.go
and zz_generated.openapi.go
files as well as the CRD files, run the following command:
make generate
Important
|
the codeready-toolchain repositories should be checked out under your GOPATH in order for the generation to generate files in the correct directories. eg. For this repository: $GOPATH/src/github.com/codeready-toolchain/api
NOTE: the make generate will generate the CRD files in the local deploy/crds directory and then dispatch the .yaml files in the host-operator and member-operator repositories, assuming they have been checked out and that they are in a clean state, meaning that they have no pending changes, besides previous versions of the CRD files.
|