kubewarden / flexvolume-drivers-psp-policy

Replacement for the Kubernetes Pod Security Policy that controls the allowed `flexVolume` drivers
https://kubewarden.io
Apache License 2.0
1 stars 3 forks source link

Update policy flexvolume-drivers-psp-policy to target high level resources #19

Open jvanz opened 2 years 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.