Enforce Pod Security Standards by Configuring the Built-in Admission Controller
Following an alpha release in Kubernetes v1.22, Pod Security Admission became available by default in Kubernetes v1.23, as a beta. From version 1.25 onwards, Pod Security Admission is generally available.
If you are not running Kubernetes 1.27, you can switch to viewing this page in the documentation for the Kubernetes version that you are running.
Configure the Admission Controller
Note: The above manifest needs to be specified via the to kube-apiserver.