@@ -29,19 +29,20 @@ flowchart TD
2929 for APIServiceExport"])
3030 is_apiserviceexport_present{"APIServiceExport<br>exists?"}
3131
32- get_crd (["Get referenced
33- CustomResourceDefinition "])
34- get_crd2 (["Get referenced
35- CustomResourceDefinition "])
36-
37- is_crd_present{"CRD<br>exists?"}
38- is_crd_present2{"CRD<br>exists?"}
32+ get_bound_schemas (["Get referenced
33+ BoundSchemas "])
34+ get_bound_schemas2 (["Get referenced
35+ BoundSchemas "])
36+ is_bound_schema_present{"BoundSchema<br>exists?"}
37+ update_bound_schema(["Update BoundSchema
38+ status"])
3939
4040 stop_apiserviceexport_sync(["Stop APIServiceExport sync"])
4141
4242 get_binding(["Get referenced
4343 APIServiceBinding"])
44- get_binding2(["Get referenced APIServiceBinding"])
44+ get_binding2(["Get referenced
45+ APIServiceBinding"])
4546
4647 is_binding_present{"APIServiceBinding<br>exists?"}
4748 is_binding_present2{"APIServiceBinding<br>exists?"}
@@ -59,6 +60,8 @@ to false"])
5960 set_apiserviceexport_condition_consumerinsync_to_false(["Set condition
6061 'ConsumerInSync' to false"])
6162
63+ get_crd(["Get referenced
64+ CustomResourceDefinition"])
6265 copy_crd_conditions(["Copy CRD conditions
6366 to APIServiceExport
6467 conditions"])
@@ -71,31 +74,32 @@ to false"])
7174 start --> enqueue_reconcile
7275 enqueue_reconcile --> is_apiserviceexport_present
7376 is_apiserviceexport_present --> |no| stop
74- is_apiserviceexport_present --> |yes| get_crd
75- get_crd --> is_crd_present
76- is_crd_present --> |yes| get_binding
77- is_crd_present --> |no| stop_apiserviceexport_sync
78- stop_apiserviceexport_sync --> stop
77+ is_apiserviceexport_present --> |yes| get_binding
7978
8079 get_binding --> is_binding_present
81- is_binding_present --> |yes| start_new_syncer
80+ is_binding_present --> |yes| get_bound_schemas
8281 is_binding_present --> |no| stop_apiserviceexport_sync
8382 stop_apiserviceexport_sync --> stop
8483
84+ get_bound_schemas --> is_bound_schema_present
85+ is_bound_schema_present --> |yes| start_new_syncer
86+ is_bound_schema_present --> |no| stop_apiserviceexport_sync
87+ stop_apiserviceexport_sync --> stop
88+
8589 start_new_syncer --> get_binding2
8690 get_binding2 --> is_binding_present2
8791 is_binding_present2 --> |yes| set_apiserviceexport_condition_connected_to_true
8892 is_binding_present2 --> |no| set_apiserviceexport_condition_connected_to_false
8993 set_apiserviceexport_condition_connected_to_false --> set_apiserviceexport_condition_consumerinsync_to_false
9094 set_apiserviceexport_condition_connected_to_true --> is_binding_schemainsync
9195 is_binding_schemainsync --> |yes| set_apiserviceexport_condition_consumerinsync_to_true
92- set_apiserviceexport_condition_consumerinsync_to_true --> get_crd2
96+ set_apiserviceexport_condition_consumerinsync_to_true --> get_bound_schemas2
9397 is_binding_schemainsync --> |no| set_apiserviceexport_condition_consumerinsync_to_false
94- set_apiserviceexport_condition_consumerinsync_to_false --> get_crd2
98+ set_apiserviceexport_condition_consumerinsync_to_false --> get_bound_schemas2
9599
96- get_crd2 --> is_crd_present2
97- is_crd_present2 --> |no| stop
98- is_crd_present2 --> |yes| copy_crd_conditions
100+ get_bound_schemas2 --> get_crd
101+ get_crd --> copy_crd_conditions
99102 copy_crd_conditions --> set_summary_condition
100- set_summary_condition --> stop
103+ set_summary_condition --> update_bound_schema
104+ update_bound_schema --> stop
101105```
0 commit comments