kubernetes/cmd/kube-apiserver/app/options
Kubernetes Submit Queue c634886539
Merge pull request #56615 from hzxuzhonghu/validate-admission-control
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

validate admission-control startup param

**What this PR does / why we need it**:

validate admission plugins, if not registered, return err to prevent going on until call AdmissionOptions.ApplyTo.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #56614

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2018-01-04 02:02:31 -08:00
..
BUILD Autogenerate BUILD files 2017-12-23 13:12:11 -08:00
options_test.go Make audit batch webhook backend configurable 2017-11-30 19:00:52 +01:00
options.go Merge pull request #53651 from sttts/sttts-apis-core 2017-11-09 06:13:39 -08:00
plugins.go Admission Controller PVC Finalizer Plugin 2017-11-23 11:46:28 +01:00
validation.go validate admission-control param 2018-01-04 10:03:01 +08:00