From 782e6264de97857b38a3225cc948a0dfdcb78846 Mon Sep 17 00:00:00 2001 From: Shubham Kuchhal Date: Mon, 19 Jul 2021 16:56:08 +0530 Subject: [PATCH] Add Note for deprecated PodSecurityPolicy. --- content/en/docs/tutorials/clusters/apparmor.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/en/docs/tutorials/clusters/apparmor.md b/content/en/docs/tutorials/clusters/apparmor.md index 32f25ba483..8907768089 100644 --- a/content/en/docs/tutorials/clusters/apparmor.md +++ b/content/en/docs/tutorials/clusters/apparmor.md @@ -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`: