Skip to content

Commit 782e626

Browse files
committed
Add Note for deprecated PodSecurityPolicy.
1 parent 470af7f commit 782e626

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

content/en/docs/tutorials/clusters/apparmor.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,11 @@ node with the required profile.
348348

349349
### Restricting profiles with the PodSecurityPolicy
350350

351+
{{< note >}}
352+
PodSecurityPolicy is deprecated in Kubernetes v1.21, and will be removed in v1.25.
353+
See [PodSecurityPolicy documentation](/docs/concepts/policy/pod-security-policy/) for more information.
354+
{{< /note >}}
355+
351356
If the PodSecurityPolicy extension is enabled, cluster-wide AppArmor restrictions can be applied. To
352357
enable the PodSecurityPolicy, the following flag must be set on the `apiserver`:
353358

0 commit comments

Comments
 (0)