• Kubernetes Submit Queue's avatar
    Merge pull request #48935 from CaoShuFeng/NamespaceLifecycle · 6c7eac2d
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue (batch tested with PRs 48914, 48535, 49099, 48935, 48871)
    
    fix NamespaceLifecycle admission
    
    forceLiveLookupCache is designed to save recently deleted namespaces.
    But currently, cluster scoped resources are also put into it.
    For example, when we run:
    kubectl delete clusterrole edit
    The "edit" is put into forceLiveLookupCache as a deleted namespace.
    This change fix the invalid action.
    
    
    **Release note**:
    
    ```
    NONE
    ```
    6c7eac2d
Name
Last commit
Last update
..
src/k8s.io Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
copy.sh Loading commit data...
godeps-json-updater.go Loading commit data...
prime-apimachinery.sh Loading commit data...