kubewarden / trusted-repos-policy

A Kubewarden policy that restricts what registries, tags and images can pods on your cluster refer to
https://kubewarden.io
Apache License 2.0
5 stars 3 forks source link

Update policy trusted-repos-policy to target high level resources trusted-repos-policy #29

Closed jvanz closed 3 weeks ago

jvanz commented 2 years ago

Update the policy from targeting Pod resource to target higher level objects like deployments. This is a better practice because we prevent the resources to be created instead of failing in the deployment phase when the pods are created.