Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cluster sync build the controller and deploy it to the local cluster enabling faster iterations. Introduce 'kind-push' target, it enables pushing the controller image to cluster nodes container runtime local registry using KinD. cluster-sync flow: - Remove the installed CRDs, Deployment and all related object (namesapce, sa, rbac, etc..) - Generate manifest (CRD, RBAC, etc..). - Generates code (DeepCopy, etc..). - go fmt, go vet - Deploy the controller CRDs. - Build controller the image. - Push the image to cluster nodes container runtime local registry (using KinD). - Generate manifests (Namespace, SA, Deployment, etc.., using Kustomize) - Deploy controller and all related objects. The default container image tag, represented by IMG, is changed as follows to make kind load work as expected: 'quay.io/omergi/overlay-network-controller:devel' Signed-off-by: Or Mergi <[email protected]>
- Loading branch information