Merge pull request #96217 from p0lyn0mial/delegated-authn-webhook-token-timeout

DelegatingAuthenticationOptions TokenReview client timeout
This commit is contained in:
Kubernetes Prow Robot
2020-11-06 11:29:16 -08:00
committed by GitHub
3 changed files with 14 additions and 0 deletions

View File

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