• 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
..
admit Loading commit data...
alwayspullimages Loading commit data...
antiaffinity Loading commit data...
defaulttolerationseconds Loading commit data...
deny Loading commit data...
eventratelimit Loading commit data...
exec Loading commit data...
extendedresourcetoleration Loading commit data...
gc Loading commit data...
imagepolicy Loading commit data...
limitranger Loading commit data...
namespace Loading commit data...
noderestriction Loading commit data...
podnodeselector Loading commit data...
podpreset Loading commit data...
podtolerationrestriction Loading commit data...
priority Loading commit data...
resourcequota Loading commit data...
security Loading commit data...
securitycontext/scdeny Loading commit data...
serviceaccount Loading commit data...
storage Loading commit data...
OWNERS Loading commit data...