mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-29 06:06:03 +00:00
Automatic merge from submit-queue (batch tested with PRs 45374, 44537, 45739, 44474, 45888) Allow kcm and scheduler to lock on ConfigMaps. **What this PR does / why we need it**: Plumbs through the ability to lock on ConfigMaps through the kcm and scheduler. **Which issue this PR fixes** Fixes: #44857 Addresses issues with: #45415 **Special notes for your reviewer**: **Release note**: ``` Add leader-election-resource-lock support to kcm and scheduler to allow for locking on ConfigMaps as well as Endpoints(default) ``` /cc @kubernetes/sig-cluster-lifecycle-pr-reviews @jamiehannaford @bsalamat @mikedanese