code: func Register(plugins *admission.Plugins) {
  	plugins.Register(DenyEscalatingExec, func(config io.Reader) (admission.Interface, error) {
  		klog.Warningf("the %s admission plugin is deprecated and will be removed in v1.18", DenyEscalatingExec)
  		klog.Warningf("use of PodSecurityPolicy or a custom admission plugin to limit creation of pods is recommended instead")
  		return NewDenyEscalatingExec(), nil
  	})
  
  	// This is for legacy support of the DenyExecOnPrivileged admission controller.  Most
  	// of the time DenyEscalatingExec should be preferred.
  	plugins.Register(DenyExecOnPrivileged, func(config io.Reader) (admission.Interface, error) {
  		klog.Warningf("the %s admission plugin is deprecated and will be removed in v1.18", DenyExecOnPrivileged)
  		klog.Warningf("use of PodSecurityPolicy or a custom admission plugin to limit creation of pods is recommended instead")
  		return NewDenyExecOnPrivileged(), nil
  	})
  }
docs: // Register registers a plugin