kubewarden / allow-privilege-escalation-psp-policy

A Kubewarden Pod Security Policy that controls usage of allowPrivilegeEscalation
https://kubewarden.io
Apache License 2.0
6 stars 7 forks source link

Allow policy to set a default value #8

Closed flavio closed 2 years ago

flavio commented 2 years ago

Turn the policy into a mutation one. The policy now has an optional configuaration value that allows the user to set the default value for allowPrivilegeEscalation.

This is required to fully implement the behaviour of the original Kubernetes PSP.

See https://github.com/kubewarden/allow-privilege-escalation-psp-policy/issues/7 for more details