Closed JefeDavis closed 2 years ago
@JefeDavis You seem to be missing the operator-builder-tools entry in go.mod. Needs to be added in internal/plugins/workload/v1/scaffolds/templates/gomod.go
Also, won't I need to use your add-phases
branch of operator-builder-tools?
Here's what I did:
make
Here's the error I get:
❯ make
/home/lander2k2/Projects/src/github.com/lander2k2/acme-webstore-mgr/bin/controller-gen object:headerFile="hack/boilerplate.go.txt" paths="./..."
go fmt ./...
go vet ./...
# github.com/acme/acme-cnp-mgr/controllers/apps
controllers/apps/webstore_controller.go:209:3: r.InitializePhases undefined (type *WebStoreReconciler has no field or method InitializePhases)
# github.com/acme/acme-cnp-mgr/controllers/apps
vet: controllers/apps/webstore_controller.go:209:4: r.InitializePhases undefined (type *WebStoreReconciler has no field or method InitializePhases)
make: *** [Makefile:50: vet] Error 2
OK working now. LGTM
testing instructions: