Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ControllerRoleBindings (0.2 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. 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)
  3. 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)
Back to top