~/talk

Embracing change: Policy-as-code with OPA and Gatekeeper

Talkat Conf42 Cloud Native 2021 · on Thursday, 2021-04-29· [kubernetes, security]
slides:none on file

Gatekeeper embeds OPA to enforce concrete policy decisions at admission time and uses Kubernetes CRDs so policies become real objects. The demo shows reusable constraint templates instantiated as constraints that block pod creation until a required label exists and an audit pass that surfaces existing violations (about 14 pods flagged). A sync CRD seeds cluster data so rules can enforce global properties like unique ingress hosts. Metrics ship to Datadog out of the box and the components run and enforce as demonstrated.

AI-written summary · about

  1. 0:00Policy as code intro
  2. 1:02Kubernetes and policy needs
  3. 2:45RBAC enforcement limits
  4. 3:49OPA for unified decisions
  5. 5:16Gatekeeper in Kubernetes
  6. 7:19Constraint templates
  7. 9:26Gatekeeper library
  8. 11:32Gatekeeper metrics
  9. 12:13Deploying Gatekeeper
  10. 14:24Enforcing pod labels
  11. 18:47Auditing violations
  12. 21:19Blocking invalid deployments
  13. 22:24Validating ingress hostnames
  14. 23:49External data for policies
  15. 26:38Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.