REA Kyverno notes (unofficial)

Last updated: · By the RepoRead editorial team · Unofficial guide
Quick answer

Kyverno policy trees (ClusterPolicy / Policy YAML) record Kubernetes admission-policy identity (rules, match, validate/mutate/generate). In REA 6.7.x, treat selected rules/match/validate labels as Evidence beside archive/package routes — complementing OPA/Gatekeeper cousins without inventing APIs. Distinct from rea-opa-rego and rea-gatekeeper.

Mental model

  1. Authorize the Kyverno policy tree (+ packaged policies you hold).
  2. Quote selected rules names / match kinds / validate message labels you actually see (never paste secrets or tokens).
  3. Cousins → opa-rego · gatekeeper · conftest-py · checkov-yml.
  4. Bind absolute paths honestly → rea-evidence-explained.
  5. Do not invent a inspect_kyverno API REA never called.

Minimal path

# authorized ClusterPolicy / Policy YAML (+ policies you hold)
# quote selected rules / match / validate labels into case notes
# cousins → peer OPA Rego / Gatekeeper / Conftest / Checkov lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_kyverno .

Compare

ArtifactHonest posture
Kyverno ClusterPolicy/PolicyAdmission rules/match/validate identity facts
Peerrea-opa-rego
Peerrea-gatekeeper
Not thisrea-conftest-py (Conftest policies)
Evidence binderrea-evidence-explained

Config literacy notes (authorized trees)

  • Quote selected rule names, match kinds/namespaces, and validate messages — enough for most Evidence binders.
  • Kubeconfig tokens and remote cluster URLs are secrets — record key names only.
  • Keep Kyverno policies distinct from OPA Rego / Gatekeeper ConstraintTemplates in case notes.
  • Exclude/skip rules are identity Evidence — label them separately from cousin pages.
  • Select keys are useful inventory — quote them without inventing REA helpers for kyverno apply.

Scope we will not cover

  • No inventing inspect_kyverno / automatic policy apply against foreign clusters.
  • No credential theft from kubeconfig tokens or remote API URLs.
  • No pirate redistribution of proprietary Kyverno trees.
  • No crack framing via Kyverno pins.
  • No cookbooks that weaken remote auth on foreign cluster accounts.
  • No using policy exclusions as an unauthorized admission-control bypass guide against systems you do not own.

Honest limits

RepoRead documents config literacy — how authorized Kyverno trees relate to Evidence — not a full Kyverno course. Prefer upstream Kyverno docs for rules and validate/mutate/generate. When REA 6.7.0 has no dedicated helper, quote the pins you opened and stay on documented archive/package lanes.

RepoRead is unofficial. Prefer config honesty + DISCLAIMER.md.

FAQ

How is this different from rea-opa-rego / rea-gatekeeper / rea-conftest-py?

rea-opa-rego covers OPA Rego. rea-gatekeeper covers OPA Gatekeeper ConstraintTemplates. rea-conftest-py covers Conftest. This page zooms on Kyverno ClusterPolicy/Policy identity — it does not overwrite those pages.

Is there inspect_kyverno in 6.7.0?

Not assumed. Quote rules / match / validate labels you actually open, then use documented package/archive lanes. Do not invent inspect_kyverno.

Does REA call Kyverno cloud APIs or steal cluster credentials?

No. Local trees only. Redact kubeconfig tokens and remote cluster URLs; do not treat REA as a Kyverno runner. No credential theft.

How should I label Evidence vs OPA/Gatekeeper policies?

Label Evidence by the file present. Keep Kyverno ClusterPolicy / Policy YAML separate from rea-opa-rego and rea-gatekeeper.

npm version checked?

rea-agents 6.7.0 (re-checked 2026-10-24).

Sources