-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcertificate-flow-sequence.plantuml
57 lines (45 loc) · 1.67 KB
/
certificate-flow-sequence.plantuml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
@startuml images/winkelschleifer-sequence.png
actor "OpenShift Administrator" as admin
actor "OpenShift Developer" as dev
participant "OpenShift" as openshift
'participant "ExternalDNS operator" as externaldns
'participant "Cert-Manager" as cert-manager
'participant "Cert-Util" as cert-util
participant "Certificate Authority" as ca
participant "DNS Zone" as dns
autonumber
group Configuration
admin -> openshift: install Operators (ExternalDNS, Cert-Manager, Cert-Utils)
admin -> dns: create DNS hosted zone
admin -> dns: create DNS API access credentials
admin -> ca: create CA access credentials
group ExternalDNS
admin -> openshift: create secret with DNS access credentials
admin -> openshift: create ExternalDNS configuration
end
group Cert-Manager
admin -> openshift: create secret with DNS access credentials
admin -> openshift: create secret with CA access credentials
admin -> openshift: create cert-manager ClusterIssuer configuration
end
end
group Usage
dev -> openshift: create Route with cert-utils annotation
group External DNS operator
openshift -> dns: create CNAME
end
dev -> openshift: create Certificate
group Cert-Manager operator
openshift -> ca: issue certificate
ca -> openshift: challenge
openshift -> dns: challenge response
ca -> dns: validate challenge response
ca -> ca: issue Certificate
openshift -> ca: retrieve Certificate
openshift -> openshift: store certificate in secret
end
group Cert-Utils operator
openshift -> openshift: configure route to use certificate from secret
end
end
@enduml