Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 559 for Authorize (0.12 sec)

  1. CHANGELOG/CHANGELOG-1.3.md

    * Retry Pod/RC updates in kubectl rolling-update ([#27509](https://github.com/kubernetes/kubernetes/pull/27509), [@janetkuo](https://github.com/janetkuo))
    * AWS kube-up: Authorize route53 in the IAM policy ([#27794](https://github.com/kubernetes/kubernetes/pull/27794), [@justinsb](https://github.com/justinsb))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 84K bytes
    - Viewed (0)
  2. pkg/kubeapiserver/options/authorization_test.go

    	"github.com/spf13/pflag"
    
    	utilerrors "k8s.io/apimachinery/pkg/util/errors"
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/kubernetes/pkg/kubeapiserver/authorizer/modes"
    )
    
    func TestAuthzValidate(t *testing.T) {
    	examplePolicyFile := "../../auth/authorizer/abac/example_policy_file.jsonl"
    
    	testCases := []struct {
    		name                 string
    		modes                []string
    		policyFile           string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 06:28:47 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. security/pkg/server/ca/server.go

    		// supported), if the real caller is authorized.
    		if s.nodeAuthorizer == nil {
    			s.monitoring.AuthnError.Increment()
    			// Return an opaque error (for security purposes) but log the full reason
    			serverCaLog.Warnf("impersonation not allowed, as node authorizer (CA_TRUSTED_NODE_ACCOUNTS) is not configured")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 17:35:26 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. pkg/kubelet/server/auth.go

    	authorizer.Authorizer
    }
    
    // NewKubeletAuth returns a kubelet.AuthInterface composed of the given authenticator, attribute getter, and authorizer
    func NewKubeletAuth(authenticator authenticator.Request, authorizerAttributeGetter authorizer.RequestAttributesGetter, authorizer authorizer.Authorizer) AuthInterface {
    	return &KubeletAuth{authenticator, authorizerAttributeGetter, authorizer}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 18:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/authorization/path/path.go

    		} else {
    			paths.Insert(p)
    		}
    	}
    
    	return authorizer.AuthorizerFunc(func(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) {
    		if a.IsResourceRequest() {
    			return authorizer.DecisionNoOpinion, "", nil
    		}
    
    		pth := strings.TrimPrefix(a.GetPath(), "/")
    		if paths.Has(pth) {
    			return authorizer.DecisionAllow, "", nil
    		}
    
    		for _, prefix := range prefixes {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 09 13:47:19 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/interface.go

    	VersionedParams runtime.Object
    	// Authorizer provides the authorizer used for the "authorizer" and
    	// "authorizer.requestResource" variable bindings. If the expression was compiled with
    	// OptionalVariableDeclarations.HasAuthorizer set to true this must be non-nil.
    	Authorizer authorizer.Authorizer
    }
    
    // Filter contains a function to evaluate compiled CEL-typed values
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. plugin/pkg/admission/certificates/approval/admission.go

    type Plugin struct {
    	*admission.Handler
    	authz authorizer.Authorizer
    }
    
    // SetAuthorizer sets the authorizer.
    func (p *Plugin) SetAuthorizer(authz authorizer.Authorizer) {
    	p.authz = authz
    }
    
    // ValidateInitialization ensures an authorizer is set.
    func (p *Plugin) ValidateInitialization() error {
    	if p.authz == nil {
    		return fmt.Errorf("%s requires an authorizer", PluginName)
    	}
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 16 11:54:27 UTC 2020
    - 3.2K bytes
    - Viewed (0)
  8. pkg/registry/rbac/role/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
    - 3.9K bytes
    - Viewed (0)
  9. pkg/registry/authorization/util/helpers.go

    	"k8s.io/apiserver/pkg/authorization/authorizer"
    	authorizationapi "k8s.io/kubernetes/pkg/apis/authorization"
    )
    
    // ResourceAttributesFrom combines the API object information and the user.Info from the context to build a full authorizer.AttributesRecord for resource access
    func ResourceAttributesFrom(user user.Info, in authorizationapi.ResourceAttributes) authorizer.AttributesRecord {
    	return authorizer.AttributesRecord{
    		User:            user,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 25 16:06:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  10. pkg/registry/authorization/rest/storage_authorization.go

    )
    
    type RESTStorageProvider struct {
    	Authorizer   authorizer.Authorizer
    	RuleResolver authorizer.RuleResolver
    }
    
    func (p RESTStorageProvider) NewRESTStorage(apiResourceConfigSource serverstorage.APIResourceConfigSource, restOptionsGetter generic.RESTOptionsGetter) (genericapiserver.APIGroupInfo, error) {
    	if p.Authorizer == nil {
    		return genericapiserver.APIGroupInfo{}, nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 23 18:36:33 UTC 2022
    - 3.4K bytes
    - Viewed (0)
Back to top