These instructions should help you to build a custom version of the operator with your changes
- Golang (1.16.x)
- Operator SDK version (1.11.x+)
- podman, podman-docker or docker
- Access to Kubernetes cluster (1.21+)
- Container registry to store images
export IMG=quay.io/user/cc-operator
make help
make docker-build
make docker-push
Ensure KUBECONFIG points to target Kubernetes cluster
make install && make deploy IMG=quay.io/user/cc-operator
kubectl create -f config/samples/ccruntime.yaml
Ensure KUBECONFIG points to target Kubernetes cluster
make uninstall && make undeploy IMG=quay.io/user/cc-operator