EXAMPLES & LABS
OPA bundle sync with Helm
When opa.bundle.enabled is true, the chart renders a ConfigMap *-opa-bundle with starter Rego.
Wire OPA¶
- Deploy OPA in the cluster.
- Mount the Aether bundle ConfigMap into OPA’s
/policiespath (or use OPA’s bundle loader). - Set Helm values:
opa:
enabled: true
url: http://opa.opa.svc:8181
enforce: false
package: aether.k8s.admit
bundle:
enabled: true
- Reload OPA after ConfigMap changes (sidecar,
kubectl rollout restart, or Stakater Reloader).
Aether API¶
POST /api/policy/opa— evaluate YAML/manifest- Cluster apply enforces when
AETHER_OPA_ENFORCE=true