apiVersion: v2
name: bp-nemo-guardrails
description: |
  Catalyst Blueprint scratch chart for NVIDIA NeMo Guardrails
  (https://github.com/NVIDIA/NeMo-Guardrails).

  No upstream Helm chart is published by NVIDIA for nemoguardrails. The
  upstream project ships a Dockerfile (python:3.10 + poetry,
  ENTRYPOINT poetry run nemoguardrails, default CMD `server` on port
  8000) but no registry-resident image. Catalyst's CI builds a
  reproducible image at `ghcr.io/openova-io/openova/nemo-guardrails`
  and this chart wires it as a Deployment + Service + ConfigMap. The
  chart's `catalystBlueprint.upstream.images.guardrails` field is
  operator-tunable so per-Sovereign overlays MAY substitute an
  air-gapped registry mirror.

  Two API endpoints are exposed on port 8000:
    - POST /v1/chat/completions  — OpenAI-compatible chat with rails
    - GET  /v1/rails/configs     — list loaded rail configurations

  Discovery: the Service is annotated with
  `catalyst.openova.io/llm-gateway-route: guardrails` so bp-llm-gateway
  (slot 40) can fan inbound traffic through guardrails before reaching
  bp-vllm.

  Pairs with bp-vllm (LLM serving), bp-llm-gateway (front-end),
  bp-bge (embeddings used by the fact-checking rail), and bp-langfuse
  (observability of rail activations).
type: application
version: 1.0.0
appVersion: "0.21.0"
keywords: [catalyst, blueprint, nemo-guardrails, ai-safety, prompt-injection, llm, nvidia]
maintainers:
  - name: OpenOva Catalyst
    email: catalyst@openova.io

# Scratch chart — NVIDIA does not publish a Helm chart for
# NeMo-Guardrails, so the Catalyst overlay templates (Deployment +
# Service + ConfigMap + ServiceMonitor + NetworkPolicy + HPA) are
# entirely in templates/ in this chart. The `sigstore/common` library
# subchart below is included ONLY to satisfy the platform-wide
# blueprint-release.yaml hollow-chart gate (issue #181) — every umbrella
# MUST declare at least one dependency. `common` is a tiny library chart
# (helper templates only, zero runtime resources) and contributes
# nothing to the rendered manifests of bp-nemo-guardrails.
dependencies:
  - name: common
    version: "0.1.3"
    repository: "https://sigstore.github.io/helm-charts"
