Merge pull request #37731 from sftim/20221105_tweak_psp_removal_page

Tweak page about PodSecurityPolicy removal
pull/37792/head^2
Kubernetes Prow Robot 2022-11-08 11:14:19 -08:00 committed by GitHub
commit aaaa6303f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 7 deletions

View File

@ -1,7 +1,4 @@
---
reviewers:
- liggitt
- tallclair
title: Pod Security Policies
content_type: concept
weight: 30
@ -9,11 +6,11 @@ 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:
@ -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 >}}