From 12b27835e64cacf198854a6780b5e0e64c9ea1f4 Mon Sep 17 00:00:00 2001 From: erik Date: Thu, 5 Oct 2023 15:07:30 +0200 Subject: [PATCH] Refine data flow diagram --- doc/data-flow.md | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/doc/data-flow.md b/doc/data-flow.md index 6dbfbc8..60d8227 100644 --- a/doc/data-flow.md +++ b/doc/data-flow.md @@ -2,38 +2,38 @@ ```mermaid flowchart TB - a0(config) - a1(auth) + conf(config) + auth(auth) c4k(c4k-website) sec(website-build-secret) - b(nginx-deployment\ninitContainer) - c(website-build-cron) - d(repo.prod.meissa.de) - e[(content-volume)] - f(nginx) - g((serve website)) - h(website-user) + depl(nginx-deployment\ninitContainer) + cron(website-build-cron) + repo(repo.prod.meissa.de) + vol[(content-volume)] + nginx(nginx) + serve((serve website)) + user(website-user) subgraph dockerImage - j((build website)) - i((pull website repo)) + build((build website)) + pull((pull website repo)) unpack((unpack website data)) exec((execute scripts)) if0{scripts exist} - i -- zip file --> unpack + pull -- zip file --> unpack unpack -- website data --> if0 if0 -- yes --> exec - exec -- modified\n website data--> j - if0 -- no\n unmodified website data --> j + exec -- modified\n website data--> build + if0 -- no\n unmodified website data --> build end - a0 -- configuration data --> c4k - a1 -- authorization data --> c4k - c4k -- container specific config &\n build specific env vars--> b & c + conf -- configuration data --> c4k + auth -- authorization data --> c4k + c4k -- container specific config &\n build specific env vars--> depl & cron c4k -- build specific secret env vars --> sec - sec -- secret env vars --> b & c - b & c -- environment vars\n from secret and c4k-website --> dockerImage - d -- build repo --> dockerImage - dockerImage -- website files --> e - e -- website files --> f - f -- website files --> g - g -- rendered page --> h + sec -- secret env vars --> depl & cron + depl & cron -- environment vars\n from secret and c4k-website --> dockerImage + repo -- build repo --> dockerImage + dockerImage -- website files --> vol + vol -- website files --> nginx + nginx -- website files --> serve + serve -- rendered page --> user ```