Introductory reading:
- https://sdk.operatorframework.io/docs/building-operators/golang/tutorial/
- https://book.kubebuilder.io/introduction.html
- Edit the go structs
- Generate code and manifests:
make generate manifests
- (Optional) Install CRDs
make install
- Edit the controller code
- Run tests
make test
- Check code coverage
go tool cover -html=cover.out
- Run controller locally (uses local k8s context authorization)
make run