REA Kyverno Policies notes (unofficial)
Kyverno Policies config trees (Policy / ClusterPolicy / PolicyException / rule blocks) record admission-policy identity. In REA 6.7.x, treat selected policy name and rule labels as Evidence beside archive/package routes — complementing kyverno install / Gatekeeper / OPA cousins without inventing APIs. Distinct from rea-kyverno (policy CRs ≠ install identity) and rea-gatekeeper-constraints (Kyverno ≠ OPA Constraints).
Mental model
- Authorize the Kyverno Policy config tree (+ packaged charts you hold).
- Quote selected Policy/ClusterPolicy names / rule names / match labels you actually see (never paste webhook private keys or secret values).
- Cousins → kyverno · gatekeeper-constraints · opa · trivy-operator.
- Bind absolute paths honestly → rea-evidence-explained.
- Do not invent a
inspect_kyverno_policiesAPI REA never called.
Minimal path
# authorized Policy / ClusterPolicy / PolicyException (+ charts you hold)
# quote selected policy / rule labels into case notes
# cousins → peer kyverno install / Gatekeeper / OPA / Trivy Operator lanes
# REA package/archive routes on /absolute/path/artifact --json
# do not invent: rea inspect_kyverno_policies .
Compare
| Artifact | Honest posture |
|---|---|
| Policy / ClusterPolicy / PolicyException / rule blocks | Kyverno Policies identity facts |
| Peer | rea-kyverno |
| Peer | rea-gatekeeper-constraints |
| Not this | rea-opa (OPA runtime) |
| Evidence binder | rea-evidence-explained |
Config literacy notes (authorized trees)
- Quote selected Policy/ClusterPolicy names, rule names, and match/exclude labels — enough for most Evidence binders.
- Webhook private keys, service tokens, and remote policy-fetch credentials are secrets — record key names only.
- Keep Kyverno Policies identity distinct from kyverno install / Gatekeeper / OPA trees in case notes.
- Chart image tag pins are identity Evidence — label them separately from cousin pages.
- Select keys are useful inventory — quote them without inventing REA helpers for live admission.
Scope we will not cover
- No inventing
inspect_kyverno_policies/ automatic scrape against foreign clusters. - No credential theft from webhook keys, service tokens, or remote policy URLs.
- No pirate redistribution of proprietary Kyverno Policy trees.
- No crack framing via Policy pins.
- No cookbooks that weaken remote admission auth on foreign clusters.
- No using Kyverno Policies as an unauthorized policy-bypass guide against clusters you do not own.
Honest limits
RepoRead documents config literacy — how authorized Kyverno Policy trees relate to Evidence — not a full Kyverno course. Prefer upstream Kyverno docs for writing policies; use rea-kyverno for install identity. 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-kyverno / rea-gatekeeper-constraints / rea-opa / rea-trivy-operator?
rea-kyverno covers Kyverno install/operator identity. rea-gatekeeper-constraints covers Gatekeeper Constraints. rea-opa covers OPA runtime. rea-trivy-operator covers Trivy Operator. This page zooms on Policy / ClusterPolicy / PolicyException identity — it does not overwrite those pages.
Is there inspect_kyverno_policies in 6.7.0?
Not assumed. Quote Policy / ClusterPolicy / rule labels you actually open, then use documented package/archive lanes. Do not invent inspect_kyverno_policies.
Does REA call Kyverno APIs or steal webhook credentials?
No. Local trees only. Redact webhook CA bundles' private material, service tokens, and remote policy URLs; do not treat REA as a Kyverno runner. No credential theft.
How should I label Evidence vs kyverno / Gatekeeper / OPA configs?
Label Evidence by the file present. Keep Policy/ClusterPolicy labels separate from rea-kyverno, rea-gatekeeper-constraints, and rea-opa.
npm version checked?
rea-agents 6.7.0 (re-checked 2026-10-24).