Public reference · v1.0.0 · Published 2026-11-29

Zero Trust Network — OpenZiti & FluxCD Reference Architecture

Sanitized public reference implementation of the Dark Gravity GitOps Control Plane, combining identity-based networking with declarative infrastructure.

Sanitization notice: Live infrastructure definitions, secrets, environment-specific values, private endpoints, and private repository names remain in the private control plane.

Read canonical Markdown source →

Operating Record

MetricPublic valueEvidence
Inbound attack surface0 public listening portsClusterIP and identity-based access
Vulnerability remediation720+ findings remediatedTrivy post-remediation re-scans, May 2026
Security baselineNSA-hardenedDefault-deny policies, non-root, read-only rootfs, least-privilege RBAC
Operation30+ services and 12+ monthsContinuous Flux reconciliation
Agent governanceHuman-approved merges onlyHITL gate on autonomous pull requests

Architecture

Zero Trust Connectivity

OpenZiti identities authenticate to the controller, receive authorized routes, and establish end-to-end encrypted tunnels through the edge router. Services remain ClusterIP workloads with no public ingress listener.

FluxCD Reconciliation

Git remains the source of truth. FluxCD reconciles infrastructure continuously, while Server-Side Apply and policy enforcement prevent unauthorized manual drift.

Code Factory Control Plane

ComponentStatusResponsibility
HatchetDeployedDurable workflow orchestration
LiteLLMDeployedMulti-provider LLM routing and cost governance
R2RDeployedGraphRAG context and semantic retrieval
MCP tool serverDeployedConsolidated read/write boundaries for agent tools
gVisor sandboxDeployedKernel-isolated execution for untrusted code

Security Boundaries

Service Catalog

TierReference servicesPattern
IdentityKeycloak, CloudNativePGOIDC or OAuth2-Proxy; cryptographic identity
StorageMinIO, CloudNativePG, Redis, RabbitMQ, Elasticsearch, MongoDBOperator-managed, workload-isolated storage
ObservabilityPrometheus, Grafana, Loki, Tempo, OpenTelemetry, DCGMLocal stack with remote forwarding
ML lifecycleMLflow, MinIO, CloudNativePGReproducible artifacts and tracked experiments
Event streamingKafka KRaftInternal-only listeners, no ZooKeeper
OrchestrationHatchet, KEDADurable workflows and event-driven scaling
Document processingDocling, Apache TikaMulti-format parsing feeding GraphRAG
DevelopmentVS Code Remote over SSHIdentity-restricted access through Ziti
GenAIOpenWebUI, LiteLLM, R2R, OllamaOIDC-aware, identity-routed, provider-fallback services

Getting Started

  1. Bootstrap FluxCD against an explicitly approved GitOps repository and cluster path.
  2. Enroll a cryptographic workstation identity issued by the Ziti controller.
  3. Install the Ziti tunneler and require only the service policies assigned to that identity.
  4. Use the local .ziti service names; do not replace the overlay with port-forwarding or a public endpoint.
# Example: bootstrap a new control plane
flux bootstrap github \
  --owner=<your-org> \
  --repository=<your-gitops-repo> \
  --path=clusters/local-microk8s

Operations & Troubleshooting

Security & Audit

A May 2026 cluster-wide Trivy audit verified post-remediation re-scans and established the public security baseline: 720+ findings remediated, with CRITICAL findings reduced from 429 to 396 and HIGH findings reduced from 3,660 to 2,973.

AreaStatus
NetworkPoliciesComplete
RBAC hardeningVerified
Container scanning and remediation720+ remediated
Workload security contextsNSA-compliant
OpenZiti ABAC transitionIn progress
Loki long-term S3 storageIn progress

Regulatory alignment is a roadmap objective. The repository makes no third-party SOC 2, ISO, or EU AI Act certification claim.

References