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