Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 559 for Authorize (0.14 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler_test.go

    func (dummyAdmissionImpl) Handles(operation admission.Operation) bool { return false }
    
    type dummyAuthorizerImpl struct{}
    
    func (dummyAuthorizerImpl) Authorize(ctx context.Context, a authorizer.Attributes) (authorized authorizer.Decision, reason string, err error) {
    	return authorizer.DecisionAllow, "", nil
    }
    
    type dummyServiceResolverImpl struct{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 15:27:39 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/library/cost_test.go

    	return nil
    }
    
    type alwaysAllowAuthorizer struct{}
    
    func (f alwaysAllowAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) {
    	return authorizer.DecisionAllow, "", nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/config.go

    	Authenticator authenticator.Request
    
    	RequestHeaderConfig *authenticatorfactory.RequestHeaderConfig
    }
    
    type AuthorizationInfo struct {
    	// Authorizer determines whether the subject is allowed to make the request based only
    	// on the RequestURI
    	Authorizer authorizer.Authorizer
    }
    
    func init() {
    	utilruntime.Must(features.AddFeatureGates(utilfeature.DefaultMutableFeatureGate))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  4. api/openapi-spec/v3/apis__authorization.k8s.io__v1_openapi.json

              },
              "denied": {
                "description": "Denied is optional. True if the action would be denied, otherwise false. If both allowed is false and denied is false, then the authorizer has no opinion on whether to authorize the action. Denied may not be true if Allowed is true.",
                "type": "boolean"
              },
              "evaluationError": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:26 UTC 2023
    - 66.1K bytes
    - Viewed (0)
  5. CHANGELOG/CHANGELOG-1.5.md

    * Use authorization to limit users' ability to use specific PodSecurityPolicy objects
    
    **What is the impact?**
    
    A user that is authorized to create pods can make use of any existing PodSecurityPolicy, even ones they are not authorized to use.
    
    **How can I mitigate this prior to installing 1.5.5?**
    
    1. Export existing PodSecurityPolicy objects:
      * `kubectl get podsecuritypolicies -o yaml > psp.yaml`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 136.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/endpoints/filters/metrics.go

    func recordAuthorizationMetrics(ctx context.Context, authorized authorizer.Decision, err error, authStart time.Time, authFinish time.Time) {
    	var resultLabel string
    
    	switch {
    	case authorized == authorizer.DecisionAllow:
    		resultLabel = allowedLabel
    	case err != nil:
    		resultLabel = errorLabel
    	case authorized == authorizer.DecisionDeny:
    		resultLabel = deniedLabel
    	case authorized == authorizer.DecisionNoOpinion:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 13:35:55 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/options/authorization.go

    	fs.DurationVar(&s.AllowCacheTTL, "authorization-webhook-cache-authorized-ttl",
    		s.AllowCacheTTL,
    		"The duration to cache 'authorized' responses from the webhook authorizer.")
    
    	fs.DurationVar(&s.DenyCacheTTL,
    		"authorization-webhook-cache-unauthorized-ttl", s.DenyCacheTTL,
    		"The duration to cache 'unauthorized' responses from the webhook authorizer.")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  8. pkg/registry/rbac/clusterrolebinding/policybased/storage.go

    type Storage struct {
    	rest.StandardStorage
    
    	authorizer authorizer.Authorizer
    
    	ruleResolver rbacregistryvalidation.AuthorizationRuleResolver
    }
    
    func NewStorage(s rest.StandardStorage, authorizer authorizer.Authorizer, ruleResolver rbacregistryvalidation.AuthorizationRuleResolver) *Storage {
    	return &Storage{s, authorizer, ruleResolver}
    }
    
    // Destroy cleans up resources on shutdown.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 10:11:16 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  9. pkg/registry/rbac/rolebinding/policybased/storage.go

    type Storage struct {
    	rest.StandardStorage
    
    	authorizer authorizer.Authorizer
    
    	ruleResolver rbacregistryvalidation.AuthorizationRuleResolver
    }
    
    func NewStorage(s rest.StandardStorage, authorizer authorizer.Authorizer, ruleResolver rbacregistryvalidation.AuthorizationRuleResolver) *Storage {
    	return &Storage{s, authorizer, ruleResolver}
    }
    
    // Destroy cleans up resources on shutdown.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 10:11:16 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  10. pkg/kubeapiserver/options/authorization.go

    		o.WebhookCacheAuthorizedTTL,
    		"The duration to cache 'authorized' responses from the webhook authorizer.")
    
    	fs.DurationVar(&o.WebhookCacheUnauthorizedTTL,
    		authorizationWebhookUnauthorizedTTLFlag, o.WebhookCacheUnauthorizedTTL,
    		"The duration to cache 'unauthorized' responses from the webhook authorizer.")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 23:09:15 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top