Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 917 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 917 Bytes

Pod Security Standards

These are collections of policies which implement the various levels of Kubernetes Pod Security Standards.

The Baseline/Default profile is minimally restrictive and denies the most common vulnerabilities while the Restricted profile is more heavily restrictive but follows many more of the common security best practices for Pods.

NOTE: the proc-mount pod may execute as non-default values for securityContext.procMount require the ProcMountType feature flag to be enabled.

Installing the Pod Security Standard policies

Use kustomize to install the baseline or restricted profiles.

Install baseline policies

kubectl apply -k baseline/

Install both baseline and restricted policies

kubectl apply -k .

Install restricted profile in enforce mode

kubectl apply -k enforce/