Add Note for deprecated PodSecurityPolicy.

This commit is contained in:
Shubham Kuchhal 2021-07-19 16:56:08 +05:30
parent 470af7fdee
commit 782e6264de
1 changed files with 5 additions and 0 deletions

View File

@ -348,6 +348,11 @@ node with the required profile.
### Restricting profiles with the PodSecurityPolicy
{{< note >}}
PodSecurityPolicy is deprecated in Kubernetes v1.21, and will be removed in v1.25.
See [PodSecurityPolicy documentation](/docs/concepts/policy/pod-security-policy/) for more information.
{{< /note >}}
If the PodSecurityPolicy extension is enabled, cluster-wide AppArmor restrictions can be applied. To
enable the PodSecurityPolicy, the following flag must be set on the `apiserver`: