youtube image
From YouTube: Unit Testing Your Kubernetes Configurations Using Open Policy Agent - Gareth Rushgrove, Docker

Description

Join us for Kubernetes Forums Seoul, Sydney, Bengaluru and Delhi - learn more at kubecon.io

Don't miss KubeCon + CloudNativeCon 2020 events in Amsterdam March 30 - April 2, Shanghai July 28-30 and Boston November 17-20! Learn more at kubecon.io. The conference features presentations from developers and end users of Kubernetes, Prometheus, Envoy, and all of the other CNCF-hosted projects

Unit Testing Your Kubernetes Configurations Using Open Policy Agent - Gareth Rushgrove, Docker

Open Policy Agent provides a high-level declarative language to author and enforce policies on structured data, for instance Kubernetes configurations. OPA is typically used as a service to enforce authorization policy in a cluster. New configurations submitted to an API are filtered through OPA and accepted or rejected depending on the defined policy. But some types of policy violations can be caught even earlier in the development process. In this talk we’ll discuss: - Why you might benefit from writing unit tests for your Kubernetes configuration - Getting started with regol, OPAs declarative assertion language - Integrating OPA-based tests with your continuous integration system - Testing Kubernetes configurations when working with other ecosystem tools like Helm, Kustomize and Pulumi - Extending the same approach to other structured configuration files

https://sched.co/MPYj