Skip to content

Commit

Permalink
Polishing during review
Browse files Browse the repository at this point in the history
  • Loading branch information
schnatterer committed Jan 17, 2023
1 parent 159954b commit e2baf6d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -440,11 +440,11 @@ Via the `vault` parameter, you can deploy Hashicorp Vault and the External Secre
With this, the whole flow from secret value in Vault to kubernetes `Secret` via External Secrets Operator can be seen in
action:
![External Secret Operator <-> Vault - flow](https://www.plantuml.com/plantuml/proxy?src=https://raw.githubusercontent.com/cloudogu/gitops-playground/feature/vault/docs/plantuml-src/External-Secret-Operator-Flow.puml&fmt=svg)
![External Secret Operator <-> Vault - flow](https://www.plantuml.com/plantuml/proxy?src=https://raw.githubusercontent.com/cloudogu/gitops-playground/main/docs/plantuml-src/External-Secret-Operator-Flow.puml&fmt=svg)
For this to work, the GitOps playground configures the whole chain in Kubernetes and vault (when [dev mode](#dev-mode) is used):
![External Secret Operator Custom Resources](https://www.plantuml.com/plantuml/proxy?src=https://raw.githubusercontent.com/cloudogu/gitops-playground/feature/vault/docs/plantuml-src/External-Secret-Operator-CRs.puml&fmt=svg)
![External Secret Operator Custom Resources](https://www.plantuml.com/plantuml/proxy?src=https://raw.githubusercontent.com/cloudogu/gitops-playground/main/docs/plantuml-src/External-Secret-Operator-CRs.puml&fmt=svg)
* In k8s `namespaces` `argocd-staging` and `argocd-production`:
* Creates `SecretStore` and `ServiceAccount` (used to authenticate with vault)
Expand Down
2 changes: 1 addition & 1 deletion docs/plantuml-src/External-Secret-Operator-CRs.puml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ 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
secrets <-- pods : mount
ES -> Store: reference
Store --> sa : reference
Store -> vault : reference
Expand Down
2 changes: 1 addition & 1 deletion docs/plantuml-src/External-Secret-Operator-Flow.puml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

!define COLOR_ABOVE_TRANSPARENT_BACKGROUND WHITE

skinparam backgroundcolor TRANSPARENT
skinparam backgroundcolor WHITE
skinparam actorStyle awesome


Expand Down
1 change: 1 addition & 0 deletions src/main/groovy/com/cloudogu/gitops/Application.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ class Application {
// This means, that the first registered feature will be first and the last feature registered will be the last to run
private List<Feature> registerFeatures() {
List<Feature> features = []
// Idea for refactoring: Feature classes have different names as features in config -> Generalize!
features.add(new ArgoCD(config))
features.add(new Mailhog(config))
features.add(new PrometheusStack(config))
Expand Down

0 comments on commit e2baf6d

Please sign in to comment.