kubewarden / allowed-proc-mount-types-psp-policy

Replacement for the Kubernetes Pod Security Policy that controls the usage of /proc mount types
https://kubewarden.io
Apache License 2.0
7 stars 5 forks source link

Update policy allowed-proc-mount-types-psp-policy to target high level resources #18

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.