File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 7
7
:Fetch the ClusterResourceSet instance in namespace;
8
8
repeat
9
9
if (Cluster matches ClusterResourceSet's selector ) then (yes)
10
- if (Get clusterResourceSetBinding for the cluster ) then (exists)
10
+ if (Get ClusterResourceSetBinding for the cluster ) then (exists)
11
11
else (doesn't exist)
12
- :Create clusterResourceSetBinding object for the cluster;
12
+ :Create ClusterResourceSetBinding object for the cluster;
13
13
endif
14
14
if (ResourceSetBinding for a given ClusterResourceSet exists ) then (yes)
15
15
else (no)
16
- :Create resourceSetbinding ;
16
+ :Create ResourceSetBinding ;
17
17
endif
18
- :Get Resoures in clusterResourceSet ;
19
- if (Check applied condition of resource in resourceSetBinding ) then (false)
18
+ :Get Resoures in ClusterResourceSet ;
19
+ if (Check applied condition of resource in ResourceSetBinding ) then (false)
20
20
:Apply resource to cluster;
21
- :Set applied condition to true in resourceSetBinding ;
21
+ :Set applied condition to true in ResourceSetBinding ;
22
22
endif
23
23
:Mark ResourcesAppliedCondition to true;
24
24
endif
25
25
repeat while (More clusters? )
26
- repeat while (More updates to clusterResourceSet ? )
26
+ repeat while (More updates to ClusterResourceSet ? )
27
27
stop
28
28
@enduml
You can’t perform that action at this time.
0 commit comments