sigs.k8s.io/cluster-api@v1.7.1/docs/book/src/images/bootstrap-provider.plantuml (about) 1 @startuml 2 3 start 4 5 :New/Updated resource; 6 7 if (Deleted?) then (yes) 8 stop 9 else (no) 10 if (Has machine owner?) then (yes) 11 if (Has status.failureReason/failureMessage?) then (yes) 12 stop 13 else (no) 14 if (Cluster exists?) then (no) 15 stop 16 else (yes) 17 if (Bootstrap data secret exists?) then (no) 18 :Generate bootstrap data & create secret; 19 else (yes) 20 endif 21 22 :Set status.dataSecretName; 23 :set status.ready to true; 24 endif 25 endif 26 else (no) 27 endif 28 endif 29 :Patch resource to persist changes; 30 stop 31 32 @enduml