Pacto's compliance model has four runtime states (Compliant, NonCompliant,
Unknown, Invalid) plus the informational Warning, NotEvaluated and Reference
outcomes. It is evaluated per
observation dimension
— workload, persistence, interfaces, dependencies, health, metrics and
configurations — with stabilization windows and recovery paths. Those behaviors
are proven at three levels, each with a different cost and fidelity. This page
maps each scenario to the level that proves it, so nothing is claimed where it is
not actually exercised.
Metrics verified (active probe, annotation and named-port discovery)
—
—
✅
Secret existence (Secret-backed configuration)
—
—
✅
Chart install / upgrade / uninstall, real image, RBAC
—
✅
—
Offline demo deliberately proves none of the runtime states: there is no
cluster observing workloads, so a runtime status would be fiction. See the
demo's own scope note.
kind proves exactly the Compliant → Unknown → Compliant journey against the
packaged chart and the real operator image — it does not sweep the full matrix;
that is the envtest suite's job.
envtest is the exhaustive gate: the acceptance matrix in
integrations/kubernetes/test/e2e
sweeps every dimension and state above, with one exception. ServiceMonitor
discovery needs the monitoring.coreos.com CustomResourceDefinition, which
envtest does not load and which cannot be fetched offline, so that path is
unit-covered by
internal/observer/metrics_discovery_test.go.
The e2e case guards on the CRD's absence and fails if it ever appears, rather
than skipping silently.