Lightning Talk: CRDs All the Way Down – Using OPA for Complex CRD Validation and Defaulting
Lightningat KubeCon + CloudNativeCon North America 2019 · on Tuesday, 2019-11-19· at 17:44· Exhibit Hall AB - San Diego Convention Center, Ground Level·
summary
Shows how Open Policy Agent (OPA) and Gatekeeper replace hand‑written admission controllers by using mutating and validating webhooks to implement real CRD defaults and checks. Demonstrates an app-install CRD that defaults catalog and version (defaults latest stable), validates catalog existence and app/version against live data, and uses namespace/context to set config. Explains why Rego policies are easier to maintain than separate Go admission controllers and how to bundle rules with CRDs and controllers.
AI-written summary · about
chapters (4)
- 0:00Start
- 0:05Validating and Defaulting Complex Custom Resources with Open Policy Agent
- 0:46Open Api V3 Schemas
- 1:00Invalidation
related talks
27mEmbracing change: Policy-as-code with OPA and Gatekeeper
05mLightning Talk: A Secure Software Supply Chain for Open Policy Agency (OPA) Policies
31mDeploying Policy-as-Code with Readable Rego Policies, and Open Policy Agent
40mIntro: Open Policy Agent
39mOPA
29mIntroduction to Open Policy Agent
17mOpen Policy Agent Intro
25mDesign Patterns for Extendable, Scalable K8s Extensions
