• Kubernetes Submit Queue's avatar
    Merge pull request #58185 from caesarxuchao/webhook-cluster-scoped-resources · 0b8f3a22
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue. 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>.
    
    Never let cluster-scoped resources skip webhooks
    
    Fix #57964
    
    This allows user write webhooks for cluster-scoped custom resources.
    
    We still need to figure out how to selectively exempt cluster-scoped resources from webhooks to avoid bootstrapping deadlocks. For now, if a deadlock occurs, users can work around by first deleting the webhook configuration, then rebooting the webhook, then re-enabling the webhook configuration.
    
    ```release-note
    Bug fix: webhooks now do not skip cluster-scoped resources
    
    Action required: Before upgrading your Kubernetes clusters, double check if you had configured webhooks for cluster-scoped objects (e.g., nodes, persistentVolume), these webhooks will start to take effect. Delete/modify the configs if that's not desirable.
    ```
    0b8f3a22
Name
Last commit
Last update
..
openapi-spec Loading commit data...
swagger-spec Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...