You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
README: Fix SVG diagrams not rendered properly in tab (#292)
When clicking on diagrams on GitHub they should be displayed in large.
However, on click the file is opened (still small).
When clicking on "Raw" the file opens full screen but is not rendered
properly.
Example:
https://raw.githubusercontent.com/cloudogu/gitops-playground/refs/heads/main/docs/gitops-playground-features.drawio.svg
Cause is Content-Security-Policy (CSP) used by raw.githubusercontent.com
:
img-src is limited, and data: URIs are not allowed.
To work around this, we could save the images as PNG.
PNG needs more size and is binary.
This would bloat our repo and slow down the loading time of our main
README.
Alternative: Add links that render the file via jsdeliver.
Disadvantage: Depending on a remote service.
It is only necessary for a quick full-screen view, though.
So, this solution seems pragmatic.
Minor fixes:
- Set height="100%" to SVG diagrams so opening them in full screen
scales them down to match the wide screen.
- Make clear the visualization tool is grafana
- Fix copyright background
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ Kubernetes clusters:
18
18
The gitops-playground is derived from our experiences in [consulting](https://platform.cloudogu.com/consulting/kubernetes-und-gitops/?mtm_campaign=gitops-playground&mtm_kwd=consulting&mtm_source=github&mtm_medium=link),
19
19
operating our internal developer platform (IDP) at [Cloudogu](https://cloudogu.com/?mtm_campaign=gitops-playground&mtm_kwd=cloudogu&mtm_source=github&mtm_medium=link) and is used in our [GitOps trainings](https://platform.cloudogu.com/en/trainings/gitops-continuous-operations/?mtm_campaign=gitops-playground&mtm_kwd=training&mtm_source=github&mtm_medium=link).
[](https://cdn.jsdelivr.net/gh/cloudogu/gitops-playground@main/docs/gitops-playground-features.drawio.svg"View full size")
22
22
23
23
## TL;DR
24
24
@@ -137,9 +137,9 @@ scenario with the Cloudogu EcoSystem (CES). Here better security and build perfo
137
137
Jenkins build agents spawned in the cloud.
138
138
139
139
### Overview
140
-
| Playground on local machine | Production environment with Cloudogu EcoSystem|
|||
140
+
| Playground on local machine | Production environment with Cloudogu EcoSystem |
|[](https://cdn.jsdelivr.net/gh/cloudogu/gitops-playground@main/docs/gitops-playground-local.drawio.svg"View full size")|[](https://cdn.jsdelivr.net/gh/cloudogu/gitops-playground@main/docs/gitops-playground-production.drawio.svg"View full size")|
143
143
144
144
### Create Cluster
145
145
@@ -733,7 +733,7 @@ When installing the GitOps playground, the following steps are performed to boot
733
733
734
734
From there, everything is managed via GitOps. This diagram shows how it works.
735
735
736
-

736
+
[](https://cdn.jsdelivr.net/gh/cloudogu/gitops-playground@main/docs/argocd-repos.svg"View full size")
737
737
738
738
1. The `bootstrap` application manages the folder `applications`, which also contains `bootstrap` itself.
739
739
With this, changes to the `bootstrap` application can be done via GitOps. The `bootstrap` application also deploys
@@ -793,7 +793,7 @@ The short answer is: As of 2023-05, version 0.4.15 it looks far from ready for p
793
793
794
794
Here is a diagram that shows how the repo structure created by autopilot looks like:
795
795
796
-

796
+
[](https://cdn.jsdelivr.net/gh/cloudogu/gitops-playground@main/docs/autopilot-repo.svg"View full size")
797
797
798
798
Here are some thoughts why we deem it not a good fit for production:
799
799
@@ -979,7 +979,7 @@ The applications implement a simple staging mechanism:
979
979
* For some applications working without CI Server and committing directly to the GitOps repo is pragmatic
980
980
(e.g. 3rd-party-application like NGINX, like [`argocd/nginx-helm-umbrella`](argocd/example-apps/argocd/nginx-helm-umbrella.ftl.yaml))
[](https://cdn.jsdelivr.net/gh/cloudogu/gitops-playground@main/docs/app-repo-vs-gitops-repo.svg"View full size")
983
983
984
984
Note that the GitOps-related logic is implemented in the
985
985
[gitops-build-lib](https://github.com/cloudogu/gitops-build-lib) for Jenkins. See the README there for more options like
0 commit comments