Skip to main content
The dorgu operator is a Kubernetes operator built with controller-runtime that manages two custom resources: ApplicationPersona and ClusterPersona. It follows the standard operator pattern of watching resources and reconciling desired state.

Design principles

Project structure

Reconciliation model

The operator runs three independent controllers, each watching different resources:

Startup sequence

CRD ownership model

The operator follows a strict ownership model for the two CRDs: The user (or CLI) creates and manages the .spec of each persona. The operator exclusively manages .status, writing validation results, health information, resource baselines, and ArgoCD sync state.

RBAC model

The operator needs read access to cluster resources and write access only to Persona status:

CRD specification

Full ApplicationPersona and ClusterPersona schema

Configuration

All operator configuration options