# seokpan/seokpan-gitops architecture

> Architecture diagram of the GitHub repository seokpan/seokpan-gitops, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/seokpan/seokpan-gitops
- Repository: https://github.com/seokpan/seokpan-gitops

## Overview

This repository is the Kubernetes desired-state and Argo CD configuration for Seokpan; application source code lives elsewhere. The principal workflow is verified image promotion into a GitOps PR, team review and merge, then Argo CD synchronization of configured resources. The graph also preserves the documented application, platform, CI/CD, and observability areas. Relationships are based on README statements only; individual manifests and their wiring were not sampled.

Main entry points: [`argocd/applications`](https://github.com/seokpan/seokpan-gitops/tree/main/argocd/applications) (Argo CD), [`apps/frontend`](https://github.com/seokpan/seokpan-gitops/tree/main/apps/frontend) (Frontend workload), [`apps/backend`](https://github.com/seokpan/seokpan-gitops/tree/main/apps/backend) (Backend workload), [`platform/gateway`](https://github.com/seokpan/seokpan-gitops/tree/main/platform/gateway) (Gateway)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_delivery["GitOps delivery"]
  node_gitops_pr["GitOps PR"]
  node_argocd["Argo CD"]
end

subgraph group_workloads["Application workloads"]
  node_frontend["Frontend workload"]
  node_backend["Backend workload"]
end

subgraph group_platform["Shared platform"]
  node_gateway["Gateway"]
  node_redis[("Redis")]
  node_storage["NFS storage"]
  node_namespace_rbac["Namespaces and RBAC"]
end

subgraph group_operations["Operations"]
  node_jenkins["Jenkins"]
  node_observability["Observability stack"]
end

node_image_pipeline["Image pipeline"]
node_promotion["Promotion script"]
node_team(("Review team"))
node_cluster["Kubernetes cluster"]

node_image_pipeline -->|"confirms digest for"| node_promotion
node_promotion -->|"creates"| node_gitops_pr
node_team -->|"reviews and merges"| node_gitops_pr
node_gitops_pr -->|"provides merged state"| node_argocd
node_argocd -->|"syncs desired state"| node_cluster
node_argocd -->|"syncs configuration"| node_frontend
node_argocd -->|"syncs configuration"| node_backend
node_argocd -->|"syncs configuration"| node_gateway
node_argocd -->|"syncs configuration"| node_redis
node_argocd -->|"syncs configuration"| node_storage
node_argocd -->|"syncs configuration"| node_namespace_rbac
node_argocd -->|"syncs configuration"| node_jenkins
node_argocd -->|"syncs configuration"| node_observability

click node_argocd "https://github.com/seokpan/seokpan-gitops/tree/main/argocd/applications"
click node_frontend "https://github.com/seokpan/seokpan-gitops/tree/main/apps/frontend"
click node_backend "https://github.com/seokpan/seokpan-gitops/tree/main/apps/backend"
click node_gateway "https://github.com/seokpan/seokpan-gitops/tree/main/platform/gateway"
click node_redis "https://github.com/seokpan/seokpan-gitops/tree/main/platform/redis"
click node_storage "https://github.com/seokpan/seokpan-gitops/tree/main/platform/storage-nfs"
click node_namespace_rbac "https://github.com/seokpan/seokpan-gitops/tree/main/platform/namespaces-rbac"
click node_jenkins "https://github.com/seokpan/seokpan-gitops/tree/main/cicd"
click node_observability "https://github.com/seokpan/seokpan-gitops/tree/main/observability"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_gitops_pr,node_argocd,node_team toneBlue
class node_frontend,node_backend toneAmber
class node_gateway,node_redis,node_storage,node_namespace_rbac toneMint
class node_jenkins,node_observability toneRose
class node_image_pipeline,node_promotion,node_cluster toneIndigo
```

## Components

### GitOps delivery

- **GitOps PR**
- [Argo CD](https://github.com/seokpan/seokpan-gitops/tree/main/argocd/applications): `argocd/applications`

### Application workloads

- [Frontend workload](https://github.com/seokpan/seokpan-gitops/tree/main/apps/frontend): `apps/frontend`
- [Backend workload](https://github.com/seokpan/seokpan-gitops/tree/main/apps/backend): `apps/backend`

### Shared platform

- [Gateway](https://github.com/seokpan/seokpan-gitops/tree/main/platform/gateway): `platform/gateway`
- [Redis](https://github.com/seokpan/seokpan-gitops/tree/main/platform/redis): `platform/redis`
- [NFS storage](https://github.com/seokpan/seokpan-gitops/tree/main/platform/storage-nfs): `platform/storage-nfs`
- [Namespaces and RBAC](https://github.com/seokpan/seokpan-gitops/tree/main/platform/namespaces-rbac): `platform/namespaces-rbac`

### Operations

- [Jenkins](https://github.com/seokpan/seokpan-gitops/tree/main/cicd): `cicd`
- [Observability stack](https://github.com/seokpan/seokpan-gitops/tree/main/observability): `observability`

### Other components

- **Image pipeline**
- **Promotion script**
- **Review team**
- **Kubernetes cluster**

## Connections

- Image pipeline → Promotion script: confirms digest for (evidence: `README.md`)
- Promotion script → GitOps PR: creates (evidence: `README.md`)
- Review team → GitOps PR: reviews and merges (evidence: `README.md`)
- GitOps PR → Argo CD: provides merged state (evidence: `README.md`)
- Argo CD → Kubernetes cluster: syncs desired state (evidence: `README.md`)
- Argo CD → Frontend workload: syncs configuration (evidence: `README.md`)
- Argo CD → Backend workload: syncs configuration (evidence: `README.md`)
- Argo CD → Gateway: syncs configuration (evidence: `README.md`)
- Argo CD → Redis: syncs configuration (evidence: `README.md`)
- Argo CD → NFS storage: syncs configuration (evidence: `README.md`)
- Argo CD → Namespaces and RBAC: syncs configuration (evidence: `README.md`)
- Argo CD → Jenkins: syncs configuration (evidence: `README.md`)
- Argo CD → Observability stack: syncs configuration (evidence: `README.md`)
