k3s/pkg/kubeapiserver/admission
Kubernetes Submit Queue f3dcf63130 Merge pull request #48576 from caesarxuchao/fix-ExternalAdmissionHookConfigurationManager
Automatic merge from submit-queue (batch tested with PRs 48576, 49010)

make externalAdmissionHookConfigurationManager distinguish API disabled error

The externalAdmissionHookConfigurationManager does not return "DisabledErr" even if the API is disabled, so the GenericWebhook admission controller will not fail open.

The GenericWebhook admission controller is default to off, so the bug is hidden in most cases. To be safe, we should cherrypick it to 1.7.

```release-note
Fix a bug where the GenericWebhook admission plugin does not fail open when the admissionregistration API is disabled
```
2017-07-18 00:35:43 -07:00
..
configuration make externalAdmissionHookConfigurationManager distinguish API disabled error 2017-07-07 13:34:29 -07:00
BUILD Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00
init_test.go make admission configuration manager retry 5 times if it's not bootstrapped yet 2017-06-14 10:19:20 -07:00
initializer.go Scripted migration from clientset_generated to client-go. 2017-07-17 15:05:37 -07:00