Overview
Explore the Open Policy Agent (OPA) in this comprehensive video featuring Torin Sandall, VP of Open Source at Styra and co-creator of OPA. Dive into the fundamentals of OPA, a general-purpose policy engine that unifies policy enforcement across various platforms. Learn about Rego, the high-level declarative language used for specifying policies as code, and discover how OPA decouples policy decision-making from enforcement. Follow along as Sandall demonstrates creating Rego policies, including simple and complex Kubernetes policies for label and image source validation. Gain hands-on experience running OPA locally using the CLI and VSCode, and understand how this versatile tool can be applied to microservices, CI/CD pipelines, API gateways, and more.
Syllabus
- Holding screen
- Introductions
- Introduction to Rego, the policy language
- Our first Rego policy
- Simple Kubernetes policy - label validation
- Complex Kubernetes policy - image source validation
- Running Open Policy Agent OPA locally with CLI and VSCode
Taught by
Rawkode Academy