~/talk

Say goodbye to PSP! Migrate your PSP rules to OPA with no hassle

Talkat Cloud Native Rejekts NA 2021 · on Saturday, 2021-10-09· [security, kubernetes]
links:none on file
slides:none on file

PSP is scheduled for removal in Kubernetes 1.25 and this shows an automated migration path: kube-policy-advisor scans a live cluster or a single YAML and runs inspect/convert to emit Rego policies, including support for pods, deployments and daemonsets, with a deny-by-default option. Generated Rego is loaded as a ConfigMap for the OPA admission webhook and the demo rejects a noncompliant pod while allowing a compliant deployment.

AI-written summary · about

  1. 0:00Start
  2. 3:26aspects of the pod specification • Define a set of conditions that a pod must satisfy with in order to be accepted into the system
  3. 11:29Why OPA is the answer • Could be used to check all the fields • Deployed to Kubernetes as an admission controller - Applied to any Kubernetes resource • User extensible to cover any area
  4. 16:14Easy way to create PSP and OPA Policies ready to use . Generate policies from live kubernetes environments • Generate policies offline using a single yaml file • Generate policies for single namespaces to narrow down security contexts
~/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.