• Kubernetes Submit Queue's avatar
    Merge pull request #48576 from caesarxuchao/fix-ExternalAdmissionHookConfigurationManager · f3dcf631
    Kubernetes Submit Queue authored
    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
    ```
    f3dcf631
Name
Last commit
Last update
..
admission Loading commit data...
authenticator Loading commit data...
authorizer Loading commit data...
options Loading commit data...
server Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
default_storage_factory_builder.go Loading commit data...
default_storage_factory_builder_test.go Loading commit data...
doc.go Loading commit data...