Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ControllerRoleBindings (0.33 sec)

  1. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/controller_policy.go

    		}
    	}
    
    	*controllerRoles = append(*controllerRoles, role)
    	addClusterRoleLabel(*controllerRoles)
    
    	*controllerRoleBindings = append(*controllerRoleBindings,
    		rbacv1helpers.NewClusterBinding(role.Name).SAs("kube-system", role.Name[len(saRolePrefix):]).BindingOrDie())
    	addClusterRoleBindingLabel(*controllerRoleBindings)
    }
    
    func eventsRule() rbacv1.PolicyRule {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  2. pkg/registry/rbac/rest/storage_rbac_test.go

    		var policy = &PolicyData{
    			ClusterRoles:               append(bootstrappolicy.ClusterRoles(), bootstrappolicy.ControllerRoles()...),
    			ClusterRoleBindings:        append(bootstrappolicy.ClusterRoleBindings(), bootstrappolicy.ControllerRoleBindings()...),
    			Roles:                      bootstrappolicy.NamespaceRoles(),
    			RoleBindings:               bootstrappolicy.NamespaceRoleBindings(),
    			ClusterRolesToAggregate:    bootstrappolicy.ClusterRolesToAggregate(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 02 03:03:06 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  3. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/controller_policy_test.go

    			t.Errorf("ClusterRole: %s GetLabels() = %s, want %s", accessor.GetName(), got, want)
    		}
    	}
    
    	rolebindings := ControllerRoleBindings()
    	for i := range rolebindings {
    		rolebinding := rolebindings[i]
    		accessor, err := meta.Accessor(&rolebinding)
    		if err != nil {
    			t.Fatalf("unexpected error: %v", err)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 05:24:17 UTC 2019
    - 2.9K bytes
    - Viewed (0)
  4. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy_test.go

    }
    
    func TestBootstrapControllerRoleBindings(t *testing.T) {
    	list := &api.List{}
    	names := sets.NewString()
    	roleBindings := map[string]runtime.Object{}
    	bootstrapRoleBindings := bootstrappolicy.ControllerRoleBindings()
    	for i := range bootstrapRoleBindings {
    		roleBinding := bootstrapRoleBindings[i]
    		names.Insert(roleBinding.Name)
    		roleBindings[roleBinding.Name] = &roleBinding
    	}
    	for _, name := range names.List() {
    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/registry/rbac/rest/storage_rbac.go

    	policy := &PolicyData{
    		ClusterRoles:               append(bootstrappolicy.ClusterRoles(), bootstrappolicy.ControllerRoles()...),
    		ClusterRoleBindings:        append(bootstrappolicy.ClusterRoleBindings(), bootstrappolicy.ControllerRoleBindings()...),
    		Roles:                      bootstrappolicy.NamespaceRoles(),
    		RoleBindings:               bootstrappolicy.NamespaceRoleBindings(),
    		ClusterRolesToAggregate:    bootstrappolicy.ClusterRolesToAggregate(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 14 03:25:19 UTC 2022
    - 18.5K bytes
    - Viewed (0)
  6. plugin/pkg/auth/authorizer/rbac/rbac_test.go

    	bootstrapBindings := []rbacv1.ClusterRoleBinding{}
    	bootstrapBindings = append(bootstrapBindings, bootstrappolicy.ClusterRoleBindings()...)
    	bootstrapBindings = append(bootstrapBindings, bootstrappolicy.ControllerRoleBindings()...)
    
    	clusterRoles := []*rbacv1.ClusterRole{}
    	for i := range bootstrapRoles {
    		clusterRoles = append(clusterRoles, &bootstrapRoles[i])
    	}
    	clusterRoleBindings := []*rbacv1.ClusterRoleBinding{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 24 15:14:54 UTC 2019
    - 21.1K bytes
    - Viewed (0)
Back to top