-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
64a45d5
commit 1a3dbf8
Showing
3 changed files
with
221 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
@startuml | ||
|
||
!includeurl https://raw.githubusercontent.com/michiel/plantuml-kubernetes-sprites/master/resource/k8s-sprites-unlabeled-25pct.iuml | ||
|
||
!define ICONURL https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/v2.4.0 | ||
!includeurl ICONURL/font-awesome-5/key.puml | ||
!includeurl ICONURL/font-awesome-5/warehouse.puml | ||
!includeurl ICONURL/font-awesome-5/user_secret.puml | ||
!includeurl ICONURL/font-awesome-5/robot.puml | ||
|
||
!define CLOUDOGUURL https://raw.githubusercontent.com/cloudogu/plantuml-cloudogu-sprites/master | ||
!includeurl CLOUDOGUURL/tools/k8s.puml | ||
|
||
!define CLOUDOGU_BLUE #23a3dd | ||
|
||
!define COLOR_ABOVE_TRANSPARENT_BACKGROUND WHITE | ||
|
||
skinparam backgroundcolor TRANSPARENT | ||
skinparam actorStyle awesome | ||
|
||
|
||
|
||
rectangle "<$k8s>\nK8s" as k8s { | ||
rectangle "<$robot>\nExternal\nSecrets\nOperator" as ESO | ||
|
||
rectangle "<$ns>\nNamespace" as ns { | ||
collections "<$secret>\nSecrets" as secrets | ||
collections "<$pod>\nPods" as pods | ||
together { | ||
collections "<$user_secret>\nExternalSecrets\n- specify path in vault" as ES | ||
rectangle "<$warehouse>\nSecretStore" as Store | ||
} | ||
rectangle "<$sa>\nService Account" as sa | ||
} | ||
rectangle "<$key>\nVault" as vault | ||
} | ||
|
||
|
||
ESO --> Store : read | ||
ESO --> ES : read | ||
ESO --> vault : read\n(using info from ES+SS) | ||
'ESO --> vault : uses info from\n ExternalSecret + SecretStore\nto read actual secret | ||
ESO -> secrets : create | ||
secrets <-- pods : use | ||
ES -> Store: reference | ||
Store --> sa : reference | ||
Store -> vault : reference | ||
|
||
|
||
skinparam arrow { | ||
Color BLACK | ||
} | ||
|
||
skinparam node { | ||
BorderColor CLOUDOGU_BLUE | ||
} | ||
|
||
skinparam actor { | ||
BackgroundColor #23a3dd | ||
BorderColor #16688d | ||
FontColor #000000 | ||
} | ||
|
||
skinparam actor { | ||
BackgroundColor CLOUDOGU_BLUE | ||
BorderColor #16688d | ||
} | ||
|
||
skinparam rectangle { | ||
BackgroundColor WHITE | ||
BorderColor CLOUDOGU_BLUE | ||
FontColor CLOUDOGU_BLUE | ||
} | ||
|
||
skinparam collections { | ||
BackgroundColor WHITE | ||
BorderColor CLOUDOGU_BLUE | ||
FontColor CLOUDOGU_BLUE | ||
} | ||
|
||
skinparam interface { | ||
BackgroundColor WHITE | ||
BorderColor #16688d | ||
} | ||
|
||
skinparam note { | ||
BackgroundColor WHITE | ||
BorderColor #16688d | ||
} | ||
|
||
skinparam rectangle<<Hidden>> { | ||
textColor Transparent | ||
borderColor Transparent | ||
backgroundColor Transparent | ||
fontColor Transparent | ||
stereotypeFontColor Transparent | ||
} | ||
|
||
|
||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
@startuml | ||
|
||
!includeurl https://raw.githubusercontent.com/michiel/plantuml-kubernetes-sprites/master/resource/k8s-sprites-unlabeled-25pct.iuml | ||
|
||
!define ICONURL https://raw.githubusercontent.com/tupadr3/plantuml-icon-font-sprites/v2.4.0 | ||
!includeurl ICONURL/common.puml | ||
!includeurl ICONURL/devicons/git.puml | ||
!includeurl ICONURL/font-awesome-5/sync.puml | ||
!includeurl ICONURL/font-awesome-5/key.puml | ||
!includeurl ICONURL/font-awesome-5/sun.puml | ||
!includeurl ICONURL/font-awesome-5/fire.puml | ||
!includeurl ICONURL/font-awesome-5/robot.puml | ||
!includeurl ICONURL/font-awesome-5/envelope.puml | ||
!includeurl ICONURL/font-awesome-5/box.puml | ||
!includeurl ICONURL/material/computer.puml | ||
|
||
!define CLOUDOGUURL https://raw.githubusercontent.com/cloudogu/plantuml-cloudogu-sprites/master | ||
!includeurl CLOUDOGUURL/tools/k8s.puml | ||
!includeurl CLOUDOGUURL/dogus/scm.puml | ||
|
||
!define CLOUDOGU_BLUE #23a3dd | ||
|
||
!define COLOR_ABOVE_TRANSPARENT_BACKGROUND WHITE | ||
|
||
skinparam backgroundcolor TRANSPARENT | ||
skinparam actorStyle awesome | ||
|
||
|
||
|
||
actor Developer as dev | ||
|
||
rectangle "<$k8s>\nK8s" as k8s { | ||
rectangle "<$git>\nGitOps Repos" as configRepo | ||
rectangle "<$sync>\nGitOps\nOperators" as gitops | ||
rectangle "<$k8s>\nAPI-Server" as apiServer | ||
rectangle "<$key>\nVault" as vault | ||
rectangle "<$robot>\nExternal\nSecrets\nOperator" as ESO | ||
} | ||
|
||
vault <-- dev : 1. Create secret value | ||
configRepo <- dev : 2. Push ExternalSecret | ||
|
||
configRepo <- gitops : 3. Pull | ||
gitops -> apiServer : 4. Apply | ||
|
||
'dev -> k8s | ||
apiServer <- ESO : 6. Read ExternalSecret | ||
ESO -> vault : 7. Read secret value | ||
apiServer <- ESO : 8. Create Secret | ||
|
||
|
||
|
||
skinparam arrow { | ||
Color BLACK | ||
} | ||
|
||
skinparam node { | ||
BorderColor CLOUDOGU_BLUE | ||
} | ||
|
||
skinparam actor { | ||
BackgroundColor #23a3dd | ||
BorderColor #16688d | ||
FontColor #000000 | ||
} | ||
|
||
skinparam actor { | ||
BackgroundColor CLOUDOGU_BLUE | ||
BorderColor #16688d | ||
} | ||
|
||
skinparam rectangle { | ||
BackgroundColor WHITE | ||
BorderColor CLOUDOGU_BLUE | ||
FontColor CLOUDOGU_BLUE | ||
} | ||
|
||
skinparam collections { | ||
BackgroundColor WHITE | ||
BorderColor CLOUDOGU_BLUE | ||
FontColor CLOUDOGU_BLUE | ||
} | ||
|
||
skinparam interface { | ||
BackgroundColor WHITE | ||
BorderColor #16688d | ||
} | ||
|
||
skinparam note { | ||
BackgroundColor WHITE | ||
BorderColor #16688d | ||
} | ||
|
||
skinparam rectangle<<Hidden>> { | ||
textColor Transparent | ||
borderColor Transparent | ||
backgroundColor Transparent | ||
fontColor Transparent | ||
stereotypeFontColor Transparent | ||
} | ||
|
||
|
||
@enduml |