Skip to content

Commit

Permalink
Update PSP annotation for v1.25
Browse files Browse the repository at this point in the history
Write about the kubernetes.io/psp annotation in the past tense.
  • Loading branch information
sftim committed Aug 1, 2022
1 parent acdef19 commit 2d03570
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions content/en/docs/reference/labels-annotations-taints/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit 2d03570

Please sign in to comment.