add kube-apiserver-lease-controller poststart hook

This commit is contained in:
Haowei Cai
2020-10-26 13:17:00 -07:00
parent 742ba5f24a
commit 3761a00e5b
8 changed files with 150 additions and 10 deletions

View File

@@ -364,6 +364,9 @@ func CreateKubeAPIServerConfig(
ExtendExpiration: s.Authentication.ServiceAccounts.ExtendExpiration,
VersionedInformers: versionedInformers,
IdentityLeaseDurationSeconds: s.IdentityLeaseDurationSeconds,
IdentityLeaseRenewIntervalSeconds: s.IdentityLeaseRenewIntervalSeconds,
},
}