Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 118 for RoleBinding (0.15 sec)

  1. pkg/registry/rbac/rolebinding/policybased/storage.go

    		return nil, errors.NewBadRequest("namespace is required")
    	}
    
    	roleBinding := obj.(*rbac.RoleBinding)
    	if rbacregistry.BindingAuthorized(ctx, roleBinding.RoleRef, namespace, s.authorizer) {
    		return s.StandardStorage.Create(ctx, obj, createValidation, options)
    	}
    
    	v1RoleRef := rbacv1.RoleRef{}
    	err := rbacv1helpers.Convert_rbac_RoleRef_To_v1_RoleRef(&roleBinding.RoleRef, &v1RoleRef, nil)
    	if err != nil {
    		return nil, err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 10:11:16 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  2. pkg/registry/rbac/rolebinding/storage/storage.go

    		NewListFunc:               func() runtime.Object { return &rbac.RoleBindingList{} },
    		DefaultQualifiedResource:  rbac.Resource("rolebindings"),
    		SingularQualifiedResource: rbac.Resource("rolebinding"),
    
    		CreateStrategy: rolebinding.Strategy,
    		UpdateStrategy: rolebinding.Strategy,
    		DeleteStrategy: rolebinding.Strategy,
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 18 09:21:13 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  3. pkg/registry/rbac/rest/storage_rbac.go

    	}
    
    	// ensure bootstrap namespaced rolebindings are created or reconciled
    	for namespace, roleBindings := range p.RoleBindings {
    		for _, roleBinding := range roleBindings {
    			opts := reconciliation.ReconcileRoleBindingOptions{
    				RoleBinding: reconciliation.RoleBindingAdapter{RoleBinding: &roleBinding},
    				Client:      reconciliation.RoleBindingClientAdapter{Client: client.RbacV1(), NamespaceClient: client.CoreV1().Namespaces()},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 14 03:25:19 UTC 2022
    - 18.5K bytes
    - Viewed (0)
  4. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy_test.go

    		bootstrapRoleBindings := namespaceRoleBindings[namespace]
    		for i := range bootstrapRoleBindings {
    			roleBinding := bootstrapRoleBindings[i]
    			names.Insert(roleBinding.Name)
    			roleBindings[roleBinding.Name] = &roleBinding
    		}
    
    		for _, name := range names.List() {
    			list.Items = append(list.Items, roleBindings[name])
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:45:31 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  5. pkg/apis/rbac/validation/validation_test.go

    			},
    		},
    	)
    	if len(errs) != 0 {
    		t.Errorf("expected success: %v", errs)
    	}
    
    	errorCases := map[string]struct {
    		A rbac.RoleBinding
    		T field.ErrorType
    		F string
    	}{
    		"bad group": {
    			A: rbac.RoleBinding{
    				ObjectMeta: metav1.ObjectMeta{Namespace: metav1.NamespaceDefault, Name: "default"},
    				RoleRef:    rbac.RoleRef{APIGroup: "rbac.GroupName", Kind: "ClusterRole", Name: "valid"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  6. api/discovery/apis__rbac.authorization.k8s.io__v1.json

            "deletecollection",
            "get",
            "list",
            "patch",
            "update",
            "watch"
          ]
        },
        {
          "kind": "RoleBinding",
          "name": "rolebindings",
          "namespaced": true,
          "singularName": "rolebinding",
          "storageVersionHash": "eGsCzGH6b1g=",
          "verbs": [
            "create",
            "delete",
            "deletecollection",
            "get",
            "list",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 15 18:18:19 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. releasenotes/notes/manifest-base-cleanup.yaml

          | `ClusterRoleBinding istiod`             | `ClusterRoleBinding istiod-clusterrole` |
          | `Role istiod`                           | `Role istiod`                           |
          | `RoleBinding istiod`                    | `RoleBinding istiod`                    |
          | `ServiceAccount istiod-service-account` | `ServiceAccount istiod`                 |
    
          Note: most resources have a suffix automatically added in addition.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 27 04:26:43 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/apiclient/idempotency.go

    			if _, err := client.RbacV1().RoleBindings(roleBinding.ObjectMeta.Namespace).Create(ctx, roleBinding, metav1.CreateOptions{}); err != nil {
    				if !apierrors.IsAlreadyExists(err) {
    					lastError = errors.Wrap(err, "unable to create RoleBinding")
    					return false, nil
    				}
    				if _, err := client.RbacV1().RoleBindings(roleBinding.ObjectMeta.Namespace).Update(ctx, roleBinding, metav1.UpdateOptions{}); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  9. pkg/apis/rbac/types.go

    type Role struct {
    	metav1.TypeMeta
    	// Standard object's metadata.
    	metav1.ObjectMeta
    
    	// Rules holds all the PolicyRules for this Role
    	Rules []PolicyRule
    }
    
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 24 20:35:20 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/rbac/v1alpha1/generated.proto

    // Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22.
    message RoleBinding {
      // Standard object's metadata.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // Subjects holds references to the objects the role applies to.
      // +optional
      repeated Subject subjects = 2;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top