From 2d03570219091038293353f759952cd1229ec1ba Mon Sep 17 00:00:00 2001 From: Tim Bannister Date: Mon, 1 Aug 2022 18:38:38 +0100 Subject: [PATCH] Update PSP annotation for v1.25 Write about the kubernetes.io/psp annotation in the past tense. --- .../reference/labels-annotations-taints/_index.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/content/en/docs/reference/labels-annotations-taints/_index.md b/content/en/docs/reference/labels-annotations-taints/_index.md index 3f70407618fba..a06fba6e81b2d 100644 --- a/content/en/docs/reference/labels-annotations-taints/_index.md +++ b/content/en/docs/reference/labels-annotations-taints/_index.md @@ -622,11 +622,14 @@ for more information. Example: `kubernetes.io/psp: restricted` -This annotation is only relevant if you are using [PodSecurityPolicies](/docs/concepts/security/pod-security-policy/). +Used on: Pod + +This annotation was only relevant if you were using [PodSecurityPolicies](/docs/concepts/security/pod-security-policy/). +Kubernetes v{{< skew currentVersion >}} does not support the PodSecurityPolicy API. -When the PodSecurityPolicy admission controller admits a Pod, the admission controller -modifies the Pod to have this annotation. -The value of the annotation is the name of the PodSecurityPolicy that was used for validation. +When the PodSecurityPolicy admission controller admitted a Pod, the admission controller +modified the Pod to have this annotation. +The value of the annotation was the name of the PodSecurityPolicy that was used for validation. ### seccomp.security.alpha.kubernetes.io/pod (deprecated) {#seccomp-security-alpha-kubernetes-io-pod}