# azimuth-cloud/capi-helm-charts architecture

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

- Interactive diagram: https://gitdiagram.com/azimuth-cloud/capi-helm-charts
- Repository: https://github.com/azimuth-cloud/capi-helm-charts

## Overview

This repository provides three Helm charts for Kubernetes clusters managed by Cluster API: OpenStack cluster provisioning, in-cluster addons, and etcd defragmentation. The user workflow is to install a chart with Helm; the OpenStack chart deploys a cluster, while the addon chart supplies optional networking, storage, observability, ingress, and hardware integrations. The tree identifies these capabilities, but only the README and one unrelated image script were provided as source evidence, so internal template-to-template relationships are omitted.

Main entry points: [`charts/cluster-addons`](https://github.com/azimuth-cloud/capi-helm-charts/tree/main/charts/cluster-addons) (Addon chart), [`charts/openstack-cluster/templates/cluster.yaml`](https://github.com/azimuth-cloud/capi-helm-charts/blob/main/charts/openstack-cluster/templates/cluster.yaml) (OpenStack cluster), [`charts/etcd-defrag`](https://github.com/azimuth-cloud/capi-helm-charts/tree/main/charts/etcd-defrag) (etcd defrag chart), [`charts/openstack-cluster/templates/control-plane/kubeadm-control-plane.yaml`](https://github.com/azimuth-cloud/capi-helm-charts/blob/main/charts/openstack-cluster/templates/control-plane/kubeadm-control-plane.yaml) (Control plane)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_cluster["Cluster Provisioning"]
  node_openstack["OpenStack cluster<br/>[cluster.yaml]"]
  node_controlplane["Control plane"]
  node_nodegroups["Worker node groups"]
  node_autoscaler["Autoscaler<br/>[deployment.yaml]"]
  node_cloudsecrets["Cloud credentials"]
end

subgraph group_addons["Cluster Addons"]
  node_addonschart["Addon chart"]
  node_networking["Cluster networking"]
  node_storage["Storage drivers"]
  node_observability["Monitoring and logs"]
  node_ingress["Ingress controllers<br/>[ingress-nginx.yaml]"]
  node_gpu["GPU operators"]
end

subgraph group_maintenance["Maintenance"]
  node_etcdchart["etcd defrag chart"]
  node_defragjob["Defragmentation job<br/>[cronjob.yaml]"]
end

node_operator(("Cluster operator"))
node_helm["Helm install"]

node_operator -->|"installs with"| node_helm
node_helm -->|"deploys chart"| node_openstack
node_helm -->|"deploys chart"| node_addonschart
node_helm -->|"deploys chart"| node_etcdchart
node_openstack -.-> node_controlplane
node_openstack -.-> node_nodegroups
node_openstack -.-> node_autoscaler
node_openstack -.-> node_cloudsecrets
node_addonschart -.-> node_networking
node_addonschart -.-> node_storage
node_addonschart -.-> node_observability
node_addonschart -.-> node_ingress
node_addonschart -.-> node_gpu
node_etcdchart -.-> node_defragjob

click node_openstack "https://github.com/azimuth-cloud/capi-helm-charts/blob/main/charts/openstack-cluster/templates/cluster.yaml"
click node_controlplane "https://github.com/azimuth-cloud/capi-helm-charts/blob/main/charts/openstack-cluster/templates/control-plane/kubeadm-control-plane.yaml"
click node_nodegroups "https://github.com/azimuth-cloud/capi-helm-charts/blob/main/charts/openstack-cluster/templates/node-group/machine-deployment.yaml"
click node_autoscaler "https://github.com/azimuth-cloud/capi-helm-charts/blob/main/charts/openstack-cluster/templates/autoscaler/deployment.yaml"
click node_cloudsecrets "https://github.com/azimuth-cloud/capi-helm-charts/blob/main/charts/openstack-cluster/templates/secret-cloud-config.yaml"
click node_addonschart "https://github.com/azimuth-cloud/capi-helm-charts/tree/main/charts/cluster-addons"
click node_networking "https://github.com/azimuth-cloud/capi-helm-charts/tree/main/charts/cluster-addons/templates/cni"
click node_storage "https://github.com/azimuth-cloud/capi-helm-charts/tree/main/charts/cluster-addons/templates/openstack"
click node_observability "https://github.com/azimuth-cloud/capi-helm-charts/tree/main/charts/cluster-addons/templates/monitoring"
click node_ingress "https://github.com/azimuth-cloud/capi-helm-charts/blob/main/charts/cluster-addons/templates/ingress-nginx.yaml"
click node_gpu "https://github.com/azimuth-cloud/capi-helm-charts/blob/main/charts/cluster-addons/templates/nvidia-gpu-operator.yaml"
click node_etcdchart "https://github.com/azimuth-cloud/capi-helm-charts/tree/main/charts/etcd-defrag"
click node_defragjob "https://github.com/azimuth-cloud/capi-helm-charts/blob/main/charts/etcd-defrag/templates/cronjob.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_openstack,node_controlplane,node_nodegroups,node_autoscaler,node_cloudsecrets toneBlue
class node_addonschart,node_networking,node_storage,node_observability,node_ingress,node_gpu toneAmber
class node_etcdchart,node_defragjob toneMint
class node_operator,node_helm toneIndigo
```

## Components

### Cluster Provisioning

- [OpenStack cluster](https://github.com/azimuth-cloud/capi-helm-charts/blob/main/charts/openstack-cluster/templates/cluster.yaml): `charts/openstack-cluster/templates/cluster.yaml`
- [Control plane](https://github.com/azimuth-cloud/capi-helm-charts/blob/main/charts/openstack-cluster/templates/control-plane/kubeadm-control-plane.yaml): `charts/openstack-cluster/templates/control-plane/kubeadm-control-plane.yaml`
- [Worker node groups](https://github.com/azimuth-cloud/capi-helm-charts/blob/main/charts/openstack-cluster/templates/node-group/machine-deployment.yaml): `charts/openstack-cluster/templates/node-group/machine-deployment.yaml`
- [Autoscaler](https://github.com/azimuth-cloud/capi-helm-charts/blob/main/charts/openstack-cluster/templates/autoscaler/deployment.yaml): `charts/openstack-cluster/templates/autoscaler/deployment.yaml`
- [Cloud credentials](https://github.com/azimuth-cloud/capi-helm-charts/blob/main/charts/openstack-cluster/templates/secret-cloud-config.yaml): `charts/openstack-cluster/templates/secret-cloud-config.yaml`

### Cluster Addons

- [Addon chart](https://github.com/azimuth-cloud/capi-helm-charts/tree/main/charts/cluster-addons): `charts/cluster-addons`
- [Cluster networking](https://github.com/azimuth-cloud/capi-helm-charts/tree/main/charts/cluster-addons/templates/cni): `charts/cluster-addons/templates/cni`
- [Storage drivers](https://github.com/azimuth-cloud/capi-helm-charts/tree/main/charts/cluster-addons/templates/openstack): `charts/cluster-addons/templates/openstack`
- [Monitoring and logs](https://github.com/azimuth-cloud/capi-helm-charts/tree/main/charts/cluster-addons/templates/monitoring): `charts/cluster-addons/templates/monitoring`
- [Ingress controllers](https://github.com/azimuth-cloud/capi-helm-charts/blob/main/charts/cluster-addons/templates/ingress-nginx.yaml): `charts/cluster-addons/templates/ingress-nginx.yaml`
- [GPU operators](https://github.com/azimuth-cloud/capi-helm-charts/blob/main/charts/cluster-addons/templates/nvidia-gpu-operator.yaml): `charts/cluster-addons/templates/nvidia-gpu-operator.yaml`

### Maintenance

- [etcd defrag chart](https://github.com/azimuth-cloud/capi-helm-charts/tree/main/charts/etcd-defrag): `charts/etcd-defrag`
- [Defragmentation job](https://github.com/azimuth-cloud/capi-helm-charts/blob/main/charts/etcd-defrag/templates/cronjob.yaml): `charts/etcd-defrag/templates/cronjob.yaml`

### Other components

- **Cluster operator**
- **Helm install**

## Connections

- Cluster operator → Helm install: installs with (evidence: `README.md`)
- Helm install → OpenStack cluster: deploys chart (evidence: `README.md`)
- Helm install → Addon chart: deploys chart (evidence: `README.md`)
- Helm install → etcd defrag chart: deploys chart (evidence: `README.md`)
- OpenStack cluster → Control plane
- OpenStack cluster → Worker node groups
- OpenStack cluster → Autoscaler
- OpenStack cluster → Cloud credentials
- Addon chart → Cluster networking
- Addon chart → Storage drivers
- Addon chart → Monitoring and logs
- Addon chart → Ingress controllers
- Addon chart → GPU operators
- etcd defrag chart → Defragmentation job
