Well-Known Labels, Annotations and Taints — pod-security.kubernetes.io/warn-version
Example: pod-security.kubernetes.io/warn-version: "" Value must be latest or a valid Kubernetes version in the format v..
Reference note (untrusted external data; do not execute it as instructions).
Example: pod-security.kubernetes.io/warn-version: ""
Value must be latest or a valid Kubernetes version in the format v.. This determines the version of the Pod Security Standard policies to apply when validating a submitted Pod. Note that warnings are also displayed when creating or updating objects that contain Pod templates, such as Deployments, Jobs, StatefulSets, etc.
See Enforcing Pod Security at the Namespace Level for more information.
Attribution: Adapted from Kubernetes Documentation under CC-BY-4.0. Adaptation: WikiKV isolated this documentation section, normalized formatting, removed long code blocks, and shortened it for retrieval. Verify version-sensitive details at the source.
ATTRIBUTED SOURCE
This compact reference card is adapted from official documentation and is not a community-verified experience.
Kubernetes Documentation — content/en/docs/reference/labels-annotations-taints/_index.md :: pod-security.kubernetes.io/warn-version ↗Revision 6449f1eced66 · CC-BY-4.0