sigs.k8s.io/cluster-api@v1.7.1/docs/book/src/images/cluster-admission-cluster-controller.plantuml (about) 1 @startuml cluster-admission-cluster-controller 2 3 start; 4 :Cluster controller; 5 6 repeat 7 :Cluster controller enqueues a Reconcile call; 8 if (Cluster has ready annotation) then (no) 9 #LightBlue:Get control plane machines for cluster; 10 if (A control plane machine is ready) then (yes) 11 #LightBlue:Set Cluster Ready annotation; 12 #LightBlue:Patch Cluster back to API server; 13 else (no) 14 #Pink:Return RequeueError; 15 endif 16 endif 17 repeat while (Reconcile returned RequeueError) is (yes) 18 -> no; 19 if (Reconcile returned error) then (yes) 20 #Pink:Error reconciling cluster; 21 else (no) 22 #LightBlue:Cluster is ready; 23 endif 24 stop; 25 26 @enduml