• Kubernetes Submit Queue's avatar
    Merge pull request #67116 from yue9944882/refactor/node-admission-controller-externalize · 44d6de79
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 65297, 67179, 67116, 67011, 66842). 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>.
    
    Externalize node admission controller
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    
    
    
    **What this PR does / why we need it**:
    
    /sig api-machinery
    
    under unbrella: #66680
    
    We start with injecting external informer/lister into node admission controller for that it's slightly simpler than the others.
    
    Here is the thing I actually did in this pull:
    
    1. Enable plugin initializer to inject external/internal clientset/informers into the admission controllers.
    2. Receive external informer in node admission controller.
    3. Create a `AdmissionConfig` following how we did in `AuthenticationConfig` and `AuthorizationConfig` and creates the actual plugin initializers and the admission post-start hook in its `New()` method
    44d6de79
Name
Last commit
Last update
..
admission Loading commit data...
auth Loading commit data...