Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TokenFailureCacheTTL (0.21 sec)

  1. pkg/kubeapiserver/options/authentication.go

    			}
    			if o.TokenFailureCacheTTL > 0 && o.WebHook.CacheTTL < o.TokenFailureCacheTTL {
    				klog.Warningf("the webhook cache ttl of %s is shorter than the overall cache ttl of %s for failed token authentication attempts.", o.WebHook.CacheTTL, o.TokenFailureCacheTTL)
    			}
    		}
    	}
    
    	return ret, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 22:40:22 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  2. pkg/kubeapiserver/authenticator/config.go

    		tokenAuth := tokenunion.New(tokenAuthenticators...)
    		// Optionally cache authentication results
    		if config.TokenSuccessCacheTTL > 0 || config.TokenFailureCacheTTL > 0 {
    			tokenAuth = tokencache.New(tokenAuth, true, config.TokenSuccessCacheTTL, config.TokenFailureCacheTTL)
    		}
    		authenticators = append(authenticators, bearertoken.New(tokenAuth), websocket.NewProtocolAuthenticator(tokenAuth))
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. pkg/kubeapiserver/options/authentication_test.go

    			Lookup:  true,
    			Issuers: []string{"http://foo.bar.com"},
    		},
    		TokenFile: &TokenFileAuthenticationOptions{
    			TokenFile: "/testTokenFile",
    		},
    		TokenSuccessCacheTTL: 10 * time.Second,
    		TokenFailureCacheTTL: 0,
    	}
    
    	expectConfig := kubeauthenticator.Config{
    		APIAudiences:            authenticator.Audiences{"http://foo.bar.com"},
    		Anonymous:               false,
    		BootstrapToken:          false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  4. pkg/controlplane/apiserver/options/options_test.go

    				Lookup:           true,
    				ExtendExpiration: true,
    			},
    			TokenFile:            &kubeoptions.TokenFileAuthenticationOptions{},
    			TokenSuccessCacheTTL: 10 * time.Second,
    			TokenFailureCacheTTL: 0,
    		},
    		Authorization: &kubeoptions.BuiltInAuthorizationOptions{
    			Modes:                       []string{"AlwaysDeny", "RBAC"},
    			PolicyFile:                  "/policy",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. cmd/kube-apiserver/app/options/options_test.go

    					Lookup:           true,
    					ExtendExpiration: true,
    				},
    				TokenFile:            &kubeoptions.TokenFileAuthenticationOptions{},
    				TokenSuccessCacheTTL: 10 * time.Second,
    				TokenFailureCacheTTL: 0,
    			},
    			Authorization: &kubeoptions.BuiltInAuthorizationOptions{
    				Modes:                       []string{"AlwaysDeny", "RBAC"},
    				PolicyFile:                  "/policy",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top