Important
Notice: Starting from Kubewarden release 1.32.0, all code from this repository has been merged into github.com/kubewarden/policies, which is now a monorepo containing policies. Please refer to that repository for future updates and development. This repository is now archived. Development continues in the new location.
Replacement for the Kubernetes Pod Security Policy that controls Flex Volume drivers.
This policy allows to provide a list of allowed Flex Volume drivers.
The configuration supports a list of allowed flex volume drivers. An example follows:
allowedFlexVolumes:
- driver: example/lvm
- driver: example/cifsIf the pod to be evaluated has a different driver on any flexVolume volume, it will be rejected.