# sftpgo/helm-chart architecture

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

- Interactive diagram: https://gitdiagram.com/sftpgo/helm-chart
- Repository: https://github.com/sftpgo/helm-chart

## Overview

This repository packages SFTPGo as a Helm chart: an operator installs the chart, whose templates describe Kubernetes resources for the application. The tree shows configuration, deployment, service exposure, persistence, and operational-resource templates. The root README documents chart installation, but no chart source or chart README excerpts were provided, so template relationships are shown only as unverified Helm rendering behavior; no deeper runtime workflow is evidenced.

Main entry points: [`sftpgo/Chart.yaml`](https://github.com/sftpgo/helm-chart/blob/main/sftpgo/Chart.yaml) (SFTPGo Chart), [`sftpgo/values.yaml`](https://github.com/sftpgo/helm-chart/blob/main/sftpgo/values.yaml) (Chart Values), [`sftpgo/templates/configmap.yaml`](https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/configmap.yaml) (App Configuration), [`sftpgo/templates/deployment.yaml`](https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/deployment.yaml) (SFTPGo Workload)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application"]
  node_chart["SFTPGo Chart<br/>[Chart.yaml]"]
  node_values["Chart Values<br/>[values.yaml]"]
  node_config["App Configuration<br/>[configmap.yaml]"]
  node_workload["SFTPGo Workload<br/>[deployment.yaml]"]
end

subgraph group_network["Network Access"]
  node_service["Kubernetes Service<br/>[service.yaml]"]
  node_http_ingress["HTTP Ingress<br/>[ingress-api.yaml]"]
  node_ui_ingress["UI Ingress<br/>[ingress-ui.yaml]"]
  node_webdav_route["WebDAV Route"]
  node_api_route["API Route<br/>[httproute-api.yaml]"]
  node_ui_route["UI Route<br/>[httproute-ui.yaml]"]
  node_ftp_route["FTP Route<br/>[tcproute-ftp.yaml]"]
  node_sftp_route["SFTP Route<br/>[tcproute-sftp.yaml]"]
end

subgraph group_state["State and Operations"]
  node_storage[("Persistent Volume<br/>[pvc.yaml]")]
  node_monitor["Pod Monitoring<br/>[pod-monitor.yaml]"]
  node_network_policy["Network Policy<br/>[networkpolicy.yaml]"]
end

node_operator(("Operator"))
node_cluster["Kubernetes Cluster"]

node_operator -->|"installs"| node_chart
node_chart -.->|"uses defaults"| node_values
node_chart -.->|"renders"| node_config
node_chart -.->|"renders"| node_workload
node_chart -.->|"renders"| node_service
node_chart -.->|"renders"| node_http_ingress
node_chart -.->|"renders"| node_ui_ingress
node_chart -.->|"renders"| node_webdav_route
node_chart -.->|"renders"| node_api_route
node_chart -.->|"renders"| node_ui_route
node_chart -.->|"renders"| node_ftp_route
node_chart -.->|"renders"| node_sftp_route
node_chart -.->|"renders"| node_storage
node_chart -.->|"renders"| node_monitor
node_chart -.->|"renders"| node_network_policy
node_operator -.->|"deploys to"| node_cluster

click node_chart "https://github.com/sftpgo/helm-chart/blob/main/sftpgo/Chart.yaml"
click node_values "https://github.com/sftpgo/helm-chart/blob/main/sftpgo/values.yaml"
click node_config "https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/configmap.yaml"
click node_workload "https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/deployment.yaml"
click node_service "https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/service.yaml"
click node_http_ingress "https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/ingress-api.yaml"
click node_ui_ingress "https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/ingress-ui.yaml"
click node_webdav_route "https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/httproute-webdav.yaml"
click node_api_route "https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/httproute-api.yaml"
click node_ui_route "https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/httproute-ui.yaml"
click node_ftp_route "https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/tcproute-ftp.yaml"
click node_sftp_route "https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/tcproute-sftp.yaml"
click node_storage "https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/pvc.yaml"
click node_monitor "https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/pod-monitor.yaml"
click node_network_policy "https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/networkpolicy.yaml"

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_chart,node_values,node_config,node_workload toneBlue
class node_service,node_http_ingress,node_ui_ingress,node_webdav_route,node_api_route,node_ui_route,node_ftp_route,node_sftp_route toneAmber
class node_storage,node_monitor,node_network_policy toneMint
class node_operator,node_cluster toneIndigo
```

## Components

### Application

- [SFTPGo Chart](https://github.com/sftpgo/helm-chart/blob/main/sftpgo/Chart.yaml): `sftpgo/Chart.yaml`
- [Chart Values](https://github.com/sftpgo/helm-chart/blob/main/sftpgo/values.yaml): `sftpgo/values.yaml`
- [App Configuration](https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/configmap.yaml): `sftpgo/templates/configmap.yaml`
- [SFTPGo Workload](https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/deployment.yaml): `sftpgo/templates/deployment.yaml`

### Network Access

- [Kubernetes Service](https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/service.yaml): `sftpgo/templates/service.yaml`
- [HTTP Ingress](https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/ingress-api.yaml): `sftpgo/templates/ingress-api.yaml`
- [UI Ingress](https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/ingress-ui.yaml): `sftpgo/templates/ingress-ui.yaml`
- [WebDAV Route](https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/httproute-webdav.yaml): `sftpgo/templates/httproute-webdav.yaml`
- [API Route](https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/httproute-api.yaml): `sftpgo/templates/httproute-api.yaml`
- [UI Route](https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/httproute-ui.yaml): `sftpgo/templates/httproute-ui.yaml`
- [FTP Route](https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/tcproute-ftp.yaml): `sftpgo/templates/tcproute-ftp.yaml`
- [SFTP Route](https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/tcproute-sftp.yaml): `sftpgo/templates/tcproute-sftp.yaml`

### State and Operations

- [Persistent Volume](https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/pvc.yaml): `sftpgo/templates/pvc.yaml`
- [Pod Monitoring](https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/pod-monitor.yaml): `sftpgo/templates/pod-monitor.yaml`
- [Network Policy](https://github.com/sftpgo/helm-chart/blob/main/sftpgo/templates/networkpolicy.yaml): `sftpgo/templates/networkpolicy.yaml`

### Other components

- **Operator**
- **Kubernetes Cluster**

## Connections

- Operator → SFTPGo Chart: installs (evidence: `README.md`)
- SFTPGo Chart → Chart Values: uses defaults
- SFTPGo Chart → App Configuration: renders
- SFTPGo Chart → SFTPGo Workload: renders
- SFTPGo Chart → Kubernetes Service: renders
- SFTPGo Chart → HTTP Ingress: renders
- SFTPGo Chart → UI Ingress: renders
- SFTPGo Chart → WebDAV Route: renders
- SFTPGo Chart → API Route: renders
- SFTPGo Chart → UI Route: renders
- SFTPGo Chart → FTP Route: renders
- SFTPGo Chart → SFTP Route: renders
- SFTPGo Chart → Persistent Volume: renders
- SFTPGo Chart → Pod Monitoring: renders
- SFTPGo Chart → Network Policy: renders
- Operator → Kubernetes Cluster: deploys to
