Investigate what would be necessary to have the same functionality in a recent Kubernetes version (e.g. 1.13)
https://wikitech.wikimedia.org/wiki/Portal:Toolforge/Admin/Kubernetes#Custom_admission_controllers
It seems the Pod Security Policy feature is developed enough that it could replace all of this now.
https://kubernetes.io/docs/concepts/policy/pod-security-policy/