Skip to content

Commit

Permalink
Tweak page about PSP removal
Browse files Browse the repository at this point in the history
- Remove reviewers (feature was removed)
- Use semi-custom Docsy callout to note the removal
- Stop stating that the API is deprecated; it's now actually removed.
  • Loading branch information
sftim committed Nov 5, 2022
1 parent a655774 commit 4e006c8
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions content/en/docs/concepts/security/pod-security-policy.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
---
reviewers:
- liggitt
- tallclair
title: Pod Security Policies
content_type: concept
weight: 30
---

<!-- overview -->

{{< feature-state for_k8s_version="v1.21" state="deprecated" >}}

{{< note >}}
{{% alert title="Removed feature" color="warning" %}}
PodSecurityPolicy was [deprecated](/blog/2021/04/08/kubernetes-1-21-release-announcement/#podsecuritypolicy-deprecation)
in Kubernetes v1.21, and removed from Kubernetes in v1.25.
{{% /alert %}}

Instead of using PodSecurityPolicy, you can enforce similar restrictions on Pods using
either or both:

Expand All @@ -26,4 +23,3 @@ see [PodSecurityPolicy Deprecation: Past, Present, and Future](/blog/2021/04/06/

If you are not running Kubernetes v{{< skew currentVersion >}}, check the documentation for
your version of Kubernetes.
{{< /note >}}

0 comments on commit 4e006c8

Please sign in to comment.