PodSecurityPolicy policy/v1beta1 is no longer served
Removed as of 2022-08-23. Replacement: Pod Security Admission or a 3rd party admission webhook. Source: Kubernetes Deprecated API Migration Guide.
Check a version:
evergreen check pkg:generic/kubernetes/policy/PodSecurityPolicy
The Kubernetes Deprecated API Migration Guide states that the policy/v1beta1 API version of PodSecurityPolicy is no longer served as of v1.25, which was released on 2022-08-23.
Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>
| Status | Removed |
| Severity | high |
| Ecosystem | kubernetes |
| Component | pkg:generic/kubernetes/policy/PodSecurityPolicy |
| Affected versions | vers:semver/1.0.0-beta.1 |
| Date from the source | 2022-08-23 |
| Replacement | Pod Security Admission or a 3rd party admission webhook |
| Evidence last seen | 2026-10-17 |
| Reviewed | 2026-10-17 by arminazimi |
| Review due | 2027-10-17 (365 days after the last review) |
| Rule ID | kubernetes.policy.podsecuritypolicy.v1beta1.removed |
Sources
- Kubernetes Deprecated API Migration Guide (accessed 2026-10-17)
- Kubernetes v1.25: Combiner (release announcement, 2022-08-23) (accessed 2026-10-17)
Migration
Constraints
- PodSecurityPolicy has no drop-in replacement: the admission controller was removed together with the API, so the policy must be re-expressed.
- Decide the intended Pod Security Standard (privileged, baseline, or restricted) for each namespace the policy covered before changing anything.
- Remove Roles and ClusterRoles that grant
useon the PodSecurityPolicy once it is gone.
Steps
- Choose a replacement policy. Replace the PodSecurityPolicy with Pod Security Admission labels on the affected namespaces, or with a third-party admission webhook, as the Kubernetes migration guide describes.
- Remove references to the policy. Delete the PodSecurityPolicy manifest and any Role or ClusterRole rule that grants
useon it.
Verification
kubectl label --dry-run=server --overwrite ns --all pod-security.kubernetes.io/enforce=baseline: Preview which existing pods would violate the chosen Pod Security Standard, without changing any namespace.kubeconform -strict -summary <manifest-paths>: Validate the remaining manifests against the target Kubernetes version.
Detected by
The kubernetes detector. See Detectors and Compatibility.
Related
Same ecosystem
- MutatingWebhookConfiguration admissionregistration.k8s.io/v1beta1 is no longer served
- ValidatingWebhookConfiguration admissionregistration.k8s.io/v1beta1 is no longer served
- EKS 1.30 and earlier clusters are past end of extended support
- EKS 1.31 cluster is past end of standard support
- EKS 1.32 cluster is past end of standard support
- EKS 1.33 cluster is past end of standard support
- EKS 1.34 cluster is scheduled to leave standard support
- EKS 1.35 cluster is scheduled to leave standard support
Data
This page is generated from registry/kubernetes.json, rule kubernetes.policy.podsecuritypolicy.v1beta1.removed, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.
Last updated