Applying Policy as Code to Kubernetes Resources