# stiravia/helm-charts architecture

> Architecture diagram of the GitHub repository stiravia/helm-charts, 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/stiravia/helm-charts
- Repository: https://github.com/stiravia/helm-charts

## Overview

This repository packages the Kernavio Collector as a Helm chart. The user-facing workflow is to install the chart into Kubernetes; the resulting collector watches cluster changes and sends them to Kernavio over outbound HTTPS. The chart tree also includes deployment, permissions, service-account, and secret templates. No source excerpts were provided, so relationships are limited to those documented in the README; template-level wiring is not inferred.

Main entry points: [`charts/kernavio-collector/templates/deployment.yaml`](https://github.com/stiravia/helm-charts/blob/main/charts/kernavio-collector/templates/deployment.yaml) (Collector workload), [`charts/kernavio-collector`](https://github.com/stiravia/helm-charts/tree/main/charts/kernavio-collector) (Collector chart)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_installation["Chart Installation"]
  node_chart["Collector chart"]
  node_deployment["Deployment template<br/>[deployment.yaml]"]
end

subgraph group_runtime["Collector Runtime"]
  node_collector["Collector workload<br/>[deployment.yaml]"]
end

subgraph group_configuration["Cluster Configuration"]
  node_clusterrole["Cluster role<br/>[clusterrole.yaml]"]
  node_role["Role<br/>[role.yaml]"]
  node_serviceaccount["Service account"]
  node_secret["Secret template<br/>[secret.yaml]"]
end

node_operator(("Cluster operator"))
node_helm["Helm"]
node_cluster["Kubernetes cluster"]
node_kernavio["Kernavio"]

node_operator -->|"installs with"| node_helm
node_helm -->|"installs chart"| node_chart
node_chart -.->|"includes template"| node_deployment
node_deployment -.->|"defines workload"| node_collector
node_collector -->|"watches changes"| node_cluster
node_collector -->|"sends changes"| node_kernavio

click node_chart "https://github.com/stiravia/helm-charts/tree/main/charts/kernavio-collector"
click node_deployment "https://github.com/stiravia/helm-charts/blob/main/charts/kernavio-collector/templates/deployment.yaml"
click node_collector "https://github.com/stiravia/helm-charts/blob/main/charts/kernavio-collector/templates/deployment.yaml"
click node_clusterrole "https://github.com/stiravia/helm-charts/blob/main/charts/kernavio-collector/templates/clusterrole.yaml"
click node_role "https://github.com/stiravia/helm-charts/blob/main/charts/kernavio-collector/templates/role.yaml"
click node_serviceaccount "https://github.com/stiravia/helm-charts/blob/main/charts/kernavio-collector/templates/serviceaccount.yaml"
click node_secret "https://github.com/stiravia/helm-charts/blob/main/charts/kernavio-collector/templates/secret.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_deployment toneBlue
class node_collector toneAmber
class node_clusterrole,node_role,node_serviceaccount,node_secret toneMint
class node_operator,node_helm,node_cluster,node_kernavio toneIndigo
```

## Components

### Chart Installation

- [Collector chart](https://github.com/stiravia/helm-charts/tree/main/charts/kernavio-collector): `charts/kernavio-collector`
- [Deployment template](https://github.com/stiravia/helm-charts/blob/main/charts/kernavio-collector/templates/deployment.yaml): `charts/kernavio-collector/templates/deployment.yaml`

### Collector Runtime

- [Collector workload](https://github.com/stiravia/helm-charts/blob/main/charts/kernavio-collector/templates/deployment.yaml): `charts/kernavio-collector/templates/deployment.yaml`

### Cluster Configuration

- [Cluster role](https://github.com/stiravia/helm-charts/blob/main/charts/kernavio-collector/templates/clusterrole.yaml): `charts/kernavio-collector/templates/clusterrole.yaml`
- [Role](https://github.com/stiravia/helm-charts/blob/main/charts/kernavio-collector/templates/role.yaml): `charts/kernavio-collector/templates/role.yaml`
- [Service account](https://github.com/stiravia/helm-charts/blob/main/charts/kernavio-collector/templates/serviceaccount.yaml): `charts/kernavio-collector/templates/serviceaccount.yaml`
- [Secret template](https://github.com/stiravia/helm-charts/blob/main/charts/kernavio-collector/templates/secret.yaml): `charts/kernavio-collector/templates/secret.yaml`

### Other components

- **Cluster operator**
- **Helm**
- **Kubernetes cluster**
- **Kernavio**

## Connections

- Cluster operator → Helm: installs with (evidence: `README.md`)
- Helm → Collector chart: installs chart (evidence: `README.md`)
- Collector chart → Deployment template: includes template
- Deployment template → Collector workload: defines workload
- Collector workload → Kubernetes cluster: watches changes (evidence: `README.md`)
- Collector workload → Kernavio: sends changes (evidence: `README.md`)
