Skip to content

Commit 46d89c4

Browse files
fix: Fixed mermaid diagram (#46)
1 parent 1e2182e commit 46d89c4

1 file changed

Lines changed: 28 additions & 39 deletions

File tree

README.md

Lines changed: 28 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -28,45 +28,34 @@
2828

2929
## Architecture
3030

31-
```
32-
┌─────────────────────────────────────────────────────────────┐
33-
│ Kubernetes Cluster │
34-
│ │
35-
│ ┌──────────────────────────────────────────────────────┐ │
36-
│ │ Steampipe Pod │ │
37-
│ │ │ │
38-
│ │ ┌─────────────┐ ┌──────────────────────────────┐ │ │
39-
│ │ │ initContainer│ │ steampipe container │ │ │
40-
│ │ │ │ │ │ │ │
41-
│ │ │ plugin install│ │ :9193 PostgreSQL endpoint │ │ │
42-
│ │ └──────────────┘ └──────────────────────────────┘ │ │
43-
│ └──────────────────────────────────────────────────────┘ │
44-
│ │ │
45-
│ ┌───────────┐ │ postgres:// │
46-
│ │ Service │ │ │
47-
│ │ ClusterIP │◀──────────────┘ │
48-
│ │ :9193 │ │
49-
│ └─────┬─────┘ │
50-
│ │ │
51-
│ ├──────────────▶ Grafana / psql / BI tools │
52-
│ │ │
53-
│ ┌─────▼──────────────────────────────────────────────┐ │
54-
│ │ Powerpipe Pod (optional) │ │
55-
│ │ │ │
56-
│ │ ┌──────────────┐ ┌───────────────────────────┐ │ │
57-
│ │ │ initContainer │ │ powerpipe container │ │ │
58-
│ │ │ │ │ │ │ │
59-
│ │ │ mod install │ │ :9033 HTTP dashboard │ │ │
60-
│ │ └───────────────┘ └───────────────────────────┘ │ │
61-
│ └─────────────────────────────────────────────────────┘ │
62-
│ │ │
63-
│ ┌───────────┐ ┌──────────▼───┐ ┌───────────────────┐ │
64-
│ │ Service │ │ Ingress │ │ oauth2-proxy │ │
65-
│ │ ClusterIP │ │ (HTTP ✅) │ │ (optional) │ │
66-
│ │ :9033 │ │ │ │ OIDC / Google / │ │
67-
│ └───────────┘ └──────────────┘ │ GitHub / Keycloak│ │
68-
│ └───────────────────┘ │
69-
└─────────────────────────────────────────────────────────────┘
31+
```mermaid
32+
graph TD
33+
subgraph k8s["☸ Kubernetes Cluster"]
34+
subgraph sp_pod["Steampipe Pod"]
35+
sp_init["initContainer\nplugin install"]
36+
sp_ct["steampipe container\n:9193 PostgreSQL"]
37+
end
38+
39+
sp_svc["Service ClusterIP :9193"]
40+
41+
subgraph pp_pod["Powerpipe Pod (optional)"]
42+
pp_init["initContainer\nmod install"]
43+
pp_ct["powerpipe container\n:9033 HTTP dashboard"]
44+
end
45+
46+
pp_svc["Service ClusterIP :9033"]
47+
ingress["Ingress (HTTP ✅)"]
48+
oauth["oauth2-proxy (optional)\nOIDC / Google / GitHub / Keycloak"]
49+
end
50+
51+
ext["🔌 Grafana / psql / BI tools"]
52+
53+
sp_ct -->|postgres://| sp_svc
54+
sp_svc --> ext
55+
sp_svc -->|postgres://| pp_pod
56+
pp_ct --> pp_svc
57+
pp_svc --> ingress
58+
ingress -.- oauth
7059
```
7160

7261
## Quick Start

0 commit comments

Comments
 (0)