Refine data flow diagram

This commit is contained in:
erik 2023-10-05 15:07:30 +02:00
parent 1710771b71
commit 12b27835e6

View file

@ -2,38 +2,38 @@
```mermaid ```mermaid
flowchart TB flowchart TB
a0(config) conf(config)
a1(auth) auth(auth)
c4k(c4k-website) c4k(c4k-website)
sec(website-build-secret) sec(website-build-secret)
b(nginx-deployment\ninitContainer) depl(nginx-deployment\ninitContainer)
c(website-build-cron) cron(website-build-cron)
d(repo.prod.meissa.de) repo(repo.prod.meissa.de)
e[(content-volume)] vol[(content-volume)]
f(nginx) nginx(nginx)
g((serve website)) serve((serve website))
h(website-user) user(website-user)
subgraph dockerImage subgraph dockerImage
j((build website)) build((build website))
i((pull website repo)) pull((pull website repo))
unpack((unpack website data)) unpack((unpack website data))
exec((execute scripts)) exec((execute scripts))
if0{scripts exist} if0{scripts exist}
i -- zip file --> unpack pull -- zip file --> unpack
unpack -- website data --> if0 unpack -- website data --> if0
if0 -- yes --> exec if0 -- yes --> exec
exec -- modified\n website data--> j exec -- modified\n website data--> build
if0 -- no\n unmodified website data --> j if0 -- no\n unmodified website data --> build
end end
a0 -- configuration data --> c4k conf -- configuration data --> c4k
a1 -- authorization data --> c4k auth -- authorization data --> c4k
c4k -- container specific config &\n build specific env vars--> b & c c4k -- container specific config &\n build specific env vars--> depl & cron
c4k -- build specific secret env vars --> sec c4k -- build specific secret env vars --> sec
sec -- secret env vars --> b & c sec -- secret env vars --> depl & cron
b & c -- environment vars\n from secret and c4k-website --> dockerImage depl & cron -- environment vars\n from secret and c4k-website --> dockerImage
d -- build repo --> dockerImage repo -- build repo --> dockerImage
dockerImage -- website files --> e dockerImage -- website files --> vol
e -- website files --> f vol -- website files --> nginx
f -- website files --> g nginx -- website files --> serve
g -- rendered page --> h serve -- rendered page --> user
``` ```