k3s/plugin
Kubernetes Submit Queue 03ccb4f084 Merge pull request #46051 from p0lyn0mial/admission_plugins_register_method
Automatic merge from submit-queue (batch tested with PRs 45313, 46051)

Change all the existing admission init blocks to call a Register function

**What this PR does / why we need it**:
this is a two stage refactor when done there will be no init block in admission plugins.
Instead all plugins expose Register function which accept admission.Plugins instance.
The registration to global plugin registry happens inside Register function

**Release note**:

```
NONE
```
2017-05-19 06:39:02 -07:00
..
cmd/kube-scheduler Merge pull request #45739 from timothysc/cm_lock 2017-05-16 18:10:57 -07:00
pkg Merge pull request #46051 from p0lyn0mial/admission_plugins_register_method 2017-05-19 06:39:02 -07:00
BUILD Add NodeRestriction admission plugin 2017-05-18 16:43:42 -04:00
OWNERS Updated top level owners file to match new format 2017-01-19 11:29:16 -08:00