Skip to content

Commit c1826ca

Browse files
authored
Merge pull request #7046 from oscr/plantuml-add-transparency
📖 Add PlantUML diagram transparency for book and proposals
2 parents 6f288a6 + dae4450 commit c1826ca

28 files changed

+37
-37
lines changed

docs/book/src/images/runtime-sdk-topology-mutation.plantuml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ activate "API Server"
2626
"API Server" -> "Cluster Topology Controller":
2727
deactivate "API Server"
2828

29-
group #white Compute desired State
29+
group #FFFFFFCC Compute desired State
3030
"Cluster Topology Controller" -> "Cluster Topology Controller": Compute desired State
3131
loop Ordered list of Patches
3232
alt
1.33 KB
Loading

docs/proposals/images/cluster-class/create.plantuml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ end box
1616

1717
User -> "API Server" : Create Cluster object with\n""Cluster.Spec.Managed.Class""
1818
"API Server" --> "Cluster Controller": New Cluster
19-
opt #white Required only if Cluster.Spec.Managed.Class is set
19+
opt #FFFFFFCC Required only if Cluster.Spec.Managed.Class is set
2020
"Cluster Controller" --> "API Server": Creates the infrastructure cluster
2121
"Cluster Controller" -> "Cluster Controller": Checks for\nCluster.Spec.ControlPlaneRef
2222
opt Required only if Cluster.Spec.ControlPlaneRef is not set
9.01 KB
Loading

docs/proposals/images/cluster-class/update.plantuml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ end box
1616

1717
User -> "API Server" : Update Cluster object with\n""Cluster.Spec.Class""
1818
"API Server" --> "Cluster Controller": Existing Cluster
19-
opt #white Required only if Cluster.Spec.Class is set
19+
opt #FFFFFFCC Required only if Cluster.Spec.Class is set
2020
"Cluster Controller" -> "Cluster Controller": Fetches the InfrastructureCluster object\nset in Cluster.spec.infrastructureRef
2121
opt Update the InfrastructureCluster
2222
"Cluster Controller" -> "Cluster Controller": Updates InfrastructureCluster fields
8.78 KB
Loading

docs/proposals/images/cluster-spec-crds/figure1.plantuml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,24 +21,24 @@ end box
2121
User -> "API Server" : Create Cluster Infrastructure
2222
"API Server" -->> "Infrastructure Controller": New Provider Infrastructure
2323

24-
opt #white IF Infrastructure has no owner ref
24+
opt #FFFFFFCC IF Infrastructure has no owner ref
2525
"Infrastructure Controller"->"Infrastructure Controller": Do Nothing
2626
end
2727

2828
User -> "API Server": Create Cluster
2929
"API Server" -->> "Cluster Controller": New Cluster
3030
"Cluster Controller" -> "API Server": Get Infrastructure
31-
opt #white Required Only if Infrastructure not seen before
31+
opt #FFFFFFCC Required Only if Infrastructure not seen before
3232
"Cluster Controller" -> "Cluster Controller": Add Watcher for Cluster.InfrastructureRef.Kind objects
3333
end
3434

35-
opt #white Required Only if Infrastructure has no owner
35+
opt #FFFFFFCC Required Only if Infrastructure has no owner
3636
"Cluster Controller" -> "Cluster Controller": Set Infrastructure's owner to Cluster
3737
"Cluster Controller" -> "API Server": Update Infrastructure
3838
end
3939

4040
"API Server" -->> "Infrastructure Controller": Infrastructure update
41-
opt #white Required only if Infrastructure has owner ref
41+
opt #FFFFFFCC Required only if Infrastructure has owner ref
4242
"Infrastructure Controller" -> "API Server": Get Cluster
4343
"Infrastructure Controller" -> "Infrastructure Controller": Provision infrastructure
4444
"Infrastructure Controller" -> "Infrastructure Controller": Set Infrastructure.Status.APIEndpoint
@@ -47,7 +47,7 @@ opt #white Required only if Infrastructure has owner ref
4747
end
4848

4949
"API Server" -->> "Cluster Controller": Infrastructure Update
50-
opt #white Only required if Infrastructure.Status.Ready is true
50+
opt #FFFFFFCC Only required if Infrastructure.Status.Ready is true
5151
"Cluster Controller" -> "API Server": Get Cluster
5252
"Cluster Controller" -> "Cluster Controller": Set Cluster.Status.APIEndpoint = Infrastructure.Status.APIEndpoint
5353
"Cluster Controller" -> "Cluster Controller": Set Cluster.Status.InfrastructureReady true
7.4 KB
Loading

docs/proposals/images/controlplane/controlplane-init-1.plantuml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ activate "Cluster API Cluster Controller"
2222

2323
note over "Cluster API Cluster Controller": - ✅ Cluster.Status.InfrastructureReady is false\n- ✅ Cluster.Spec.ControlPlaneRef is populated\n- ✅ Cluster.Spec.ControlPlaneRef -> Status.Ready is false
2424

25-
opt #white Required only if the object hasn't been seen before
25+
opt #FFFFFFCC Required only if the object hasn't been seen before
2626
"Cluster API Cluster Controller"-> "Cluster API Cluster Controller":Add watcher for \nCluster.Spec.ControlPlaneRef.Kind objects
2727
end
2828

29-
opt #white Required only if the infrastructure object doesn't have a Cluster owner reference
29+
opt #FFFFFFCC Required only if the infrastructure object doesn't have a Cluster owner reference
3030
"Cluster API Cluster Controller"-> "Cluster API Cluster Controller":Set Cluster.Spec.InfrastructureRef -> OwnerReferences[0] to Cluster
3131
"Cluster API Cluster Controller"->"API Server": Patch AWSCluster
3232
"Cluster API Cluster Controller"<<--"API Server": Response
3333
end
3434

35-
opt #white Required only if the control plane object doesn't have a Cluster owner reference
35+
opt #FFFFFFCC Required only if the control plane object doesn't have a Cluster owner reference
3636
"Cluster API Cluster Controller"-> "Cluster API Cluster Controller":Set Cluster.Spec.ControlPlaneRef -> OwnerReferences[0] to Cluster
3737
"Cluster API Cluster Controller"->"API Server": Patch KubeadmControlPlane
3838
"Cluster API Cluster Controller"<<--"API Server": Response
4.21 KB
Loading

0 commit comments

Comments
 (0)