aibom-workload-namespace
Per-namespace RBAC and scripts ConfigMap for AIBOM-instrumented workload namespaces
About this chart
AIBOM Workload Namespace
Enables one namespace for the AIBOM webhook. Install it in every namespace whose workloads should get an AIBOM, after the aibom-webhook chart.
It creates the aibom-scripts ConfigMap that instrumented pods run, the HMAC keys that sign their hardware and dataset data, the RBAC that lets workload pods and the webhook write that data, the grants the postprocess Job needs to create the namespace's AIBOMs, and a PodMonitor for vLLM metrics.
Full documentation: https://gavinsan33.github.io/project-aibom/
Install
A cluster-admin installs it, because it also creates a RoleBinding in the webhook's namespace. The namespace must already exist and carry the opt-in label, which Helm can't add:
oc label namespace <namespace> aibom.io/enabled=true
helm upgrade --install aibom-ns-<namespace> oci://quay.io/project-aibom/aibom-workload-namespace \
-n <namespace> --version <version>
- Set
aibomSystemNamespaceif the webhook chart isn't inproject-aibom. - Set
vllmMetrics.enabled=falseon a cluster without the Prometheus Operator, or the install fails on the PodMonitor. - When rendering offline (Argo CD,
helm template), setplatformandsigning.createKeys=false. The chart can't see the existing HMAC keys then and would replace them on every sync. With it off, the webhook creates any missing key when it admits the namespace's first instrumented pod.
Run helm test aibom-ns-<namespace> -n <namespace> to check the scripts are in place. Upgrade the namespace chart whenever you upgrade the webhook chart: a stale aibom-scripts ConfigMap can stop instrumented pods from starting.
Deploy aibom-workload-namespace with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has aibom-workload-namespace on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartaibom-workload-namespace is pinned at v1.0.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply