...
The relevant point from the https://kubernetes.io/docs/reference/using-api/deprecation-guide/#v1-25 is that PodSecurityPolicy
in the policy/v1beta1 API version will no longer be served in v1.25 onwards, and the PodSecurityPolicy admission controller will be removed. Kubernetes recommends migrating to Pod Security Admission or a 3rd party admission webhook.
...