# raj34970/pki-helm architecture

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

- Interactive diagram: https://gitdiagram.com/raj34970/pki-helm
- Repository: https://github.com/raj34970/pki-helm

## Overview

This repository is a Helm chart for deploying PKI-related Kubernetes resources. The documented workflow is an operator generating a root CA key and certificate, then installing the chart. The template names indicate resources for a root-CA secret, issuer, edge certificate, and namespace, but no source excerpts or configuration details were provided to verify how values connect to those templates or how the resources relate. Packaging and release scripts are excluded.

Main entry points: [`Chart.yaml`](https://github.com/raj34970/pki-helm/blob/main/Chart.yaml) (PKI Helm chart)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_chart["PKI chart"]
  node_chart["PKI Helm chart<br/>[Chart.yaml]"]
end

subgraph group_resources["Kubernetes resources"]
  node_namespace["Namespace template<br/>[namespace.yaml]"]
  node_root_ca_secret["Root CA secret"]
  node_issuer["Issuer template<br/>[issuer.yaml]"]
  node_edge_certificate["Edge certificate"]
end

subgraph group_configuration["Chart configuration"]
  node_values["Chart values<br/>[values.yaml]"]
  node_application_config["Application config<br/>[application.yaml]"]
end

node_operator(("Operator"))
node_openssl["OpenSSL"]
node_helm["Helm CLI"]

node_operator -->|"generates CA"| node_openssl
node_operator -->|"installs chart"| node_helm
node_helm -->|"installs"| node_chart

click node_chart "https://github.com/raj34970/pki-helm/blob/main/Chart.yaml"
click node_values "https://github.com/raj34970/pki-helm/blob/main/values.yaml"
click node_application_config "https://github.com/raj34970/pki-helm/blob/main/application.yaml"
click node_namespace "https://github.com/raj34970/pki-helm/blob/main/templates/namespace.yaml"
click node_root_ca_secret "https://github.com/raj34970/pki-helm/blob/main/templates/root-ca-secret.yaml"
click node_issuer "https://github.com/raj34970/pki-helm/blob/main/templates/issuer.yaml"
click node_edge_certificate "https://github.com/raj34970/pki-helm/blob/main/templates/edge-certificate.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 toneBlue
class node_namespace,node_root_ca_secret,node_issuer,node_edge_certificate toneAmber
class node_values,node_application_config toneMint
class node_operator,node_openssl,node_helm toneIndigo
```

## Components

### PKI chart

- [PKI Helm chart](https://github.com/raj34970/pki-helm/blob/main/Chart.yaml): `Chart.yaml`

### Kubernetes resources

- [Namespace template](https://github.com/raj34970/pki-helm/blob/main/templates/namespace.yaml): `templates/namespace.yaml`
- [Root CA secret](https://github.com/raj34970/pki-helm/blob/main/templates/root-ca-secret.yaml): `templates/root-ca-secret.yaml`
- [Issuer template](https://github.com/raj34970/pki-helm/blob/main/templates/issuer.yaml): `templates/issuer.yaml`
- [Edge certificate](https://github.com/raj34970/pki-helm/blob/main/templates/edge-certificate.yaml): `templates/edge-certificate.yaml`

### Chart configuration

- [Chart values](https://github.com/raj34970/pki-helm/blob/main/values.yaml): `values.yaml`
- [Application config](https://github.com/raj34970/pki-helm/blob/main/application.yaml): `application.yaml`

### Other components

- **Operator**
- **OpenSSL**
- **Helm CLI**

## Connections

- Operator → OpenSSL: generates CA (evidence: `README.md`)
- Operator → Helm CLI: installs chart (evidence: `README.md`)
- Helm CLI → PKI Helm chart: installs (evidence: `README.md`)
