~/talk

Securing our clusters with gatekeeper and OPA

Talkat KCD Washington DC 2021 · on Thursday, 2021-11-04· [kubernetes, security]
slides:none on file

Shows how Gatekeeper + OPA enforce policies Kubernetes RBAC cannot, using Rego constraint templates to block undesired services (no NodePort or LoadBalancer) and validate Ingress hosts. Describes a Helm “Landlord” that bootstraps tenants and creates an authorized-domain constraint, runs opa test unit checks, and demo denies an unauthorized host. Deployed to just over 55 tenant namespaces with Flux GitOps managing configs; policies are applied at admission time and the enforcement works live.

AI-written summary · about

  1. 0:00Start
  2. 0:31About Me
  3. 3:07The Common Application Platform
  4. 4:31The Original Goals in Human Terms
  5. 6:42Designing for Multi-tenancy
  6. 8:09Built-in RBAC Mechanisms
  7. 8:51Roles/Role Bindings
  8. 10:23Example Role/RoleBinding
  9. 11:27Built-in RBAC Limitations
  10. 14:14A few built-in Admissions Controllers
  11. 14:48Adding your own admission plugins
  12. 15:49Example Configuration
  13. 16:28Example Request Responses
  14. 17:42Open Policy Agent OPA and Gatekeeper
  15. 18:53OPA Policies
  16. 21:22Example Constraint
~/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.