Skip to content
This repository was archived by the owner on Jan 20, 2026. It is now read-only.

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

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.

Kubewarden Policy Repository Stable

Kubewarden policy psp-allowed-proc-mount-types

Description

Replacement for the Kubernetes Pod Security Policy that controls the usage of proc mount types in containers within a pod.

Settings

This policy works by defining what proc mount types are allowed in containers. They can be left empty (defaulted by Kubernetes), Default or Unmasked. This policy protects against pods that contain at least one container with Unmasked proc mount type, that can potentially expose host information to the container.

The following setting keys are accepted for this policy:

  • allow_unmasked_proc_mount_type: allows the containers, init containers or ephemeral containers within a pod to set .spec.securityContext.procMount to Unmasked. Otherwise, the pod or the ephemeral request subresource request will be rejected.

allow_unmasked_proc_mount_type is false by default.

About

Replacement for the Kubernetes Pod Security Policy that controls the usage of /proc mount types

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors