Merge pull request #100959 from p0lyn0mial/upstream-delegated-authn-timeout

DelegatingAuthenticationOptions: TokenReview request timeout
This commit is contained in:
Kubernetes Prow Robot
2021-04-14 18:20:09 -07:00
committed by GitHub
7 changed files with 42 additions and 24 deletions

View File

@@ -414,7 +414,7 @@ func TestAddFlags(t *testing.T) {
}).WithLoopback(),
Authentication: &apiserveroptions.DelegatingAuthenticationOptions{
CacheTTL: 10 * time.Second,
ClientTimeout: 10 * time.Second,
TokenRequestTimeout: 10 * time.Second,
WebhookRetryBackoff: apiserveroptions.DefaultAuthWebhookRetryBackoff(),
ClientCert: apiserveroptions.ClientCertAuthenticationOptions{},
RequestHeader: apiserveroptions.RequestHeaderAuthenticationOptions{