[Kube-scheduler] Lower timeout for leaderelection resourcelock

Migrate how resource lock and leader election config is generated to new
way, hidding kubeClient. This also halfs kubeClient timeout, making it
an useful value.
This commit is contained in:
Jakub Przychodzeń 2021-01-12 11:06:24 +01:00
parent 9caf675ed1
commit 93cf797c50